TokenResponse
The response token object returned on a successful request.
Declaration
object TokenResponseProperties
| Name | Type | Description |
|---|---|---|
access_token | string | A token used to access allowed data, such as generating and exchanging transfer identifiers during user migration, or to invalidate tokens after a user revokes consent for your app to use their Apple Account. For more information, see Transferring your apps and users to another team, Bringing new apps and users into your team, Processing changes for Sign in with Apple accounts, and Token revocation. |
expires_in | number | The amount of time, in seconds, before the access token expires. |
id_token | string | A JSON Web Token (JWT) that contains the user’s identity information. For more information, see id_token. |
refresh_token | string | The refresh token used to regenerate new access tokens when validating an authorization code. Store this token securely on your server. The refresh token isn’t returned when validating an existing refresh token. The refresh token can also be invalidated after a user revokes consent for your app to use their Apple Account. For more information, see Token validation, Processing changes for Sign in with Apple accounts, and Token revocation. |
token_type | string | The type of access token, which is always |