Stytch · Schema
api_b2b_oauth_v1_ProviderValues
AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper Tools
Properties
| Name | Type | Description |
|---|---|---|
| scopes | array | The OAuth scopes included for a given provider. See each provider's section above to see which scopes are included by default and how to add custom scopes. |
| access_token | string | The `access_token` that you may use to access the User's data in the provider's API. |
| refresh_token | string | The `refresh_token` that you may use to obtain a new `access_token` for the User within the provider's API. |
| expires_at | string | |
| id_token | string | The `id_token` returned by the OAuth provider. ID Tokens are JWTs that contain structured information about a user. The exact content of each ID Token varies from provider to provider. ID Tokens are r |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/api_b2b_oauth_v1_ProviderValues",
"title": "api_b2b_oauth_v1_ProviderValues",
"type": "object",
"properties": {
"scopes": {
"type": "array",
"items": {
"type": "string"
},
"description": "The OAuth scopes included for a given provider. See each provider's section above to see which scopes are included by default and how to add custom scopes."
},
"access_token": {
"type": "string",
"description": "The `access_token` that you may use to access the User's data in the provider's API."
},
"refresh_token": {
"type": "string",
"description": "The `refresh_token` that you may use to obtain a new `access_token` for the User within the provider's API."
},
"expires_at": {
"type": "string"
},
"id_token": {
"type": "string",
"description": "The `id_token` returned by the OAuth provider. ID Tokens are JWTs that contain structured information about a user. The exact content of each ID Token varies from provider to provider. ID Tokens are returned from OAuth providers that conform to the [OpenID Connect](https://openid.net/foundation/) specification, which is based on OAuth."
}
},
"required": [
"scopes"
]
}