Contents

TokenResponse

The response token object returned on a successful request.

Declaration

object TokenResponse

Properties

NameTypeDescription
access_tokenstring

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_innumber

The amount of time, in seconds, before the access token expires.

id_tokenstring

A JSON Web Token (JWT) that contains the user’s identity information. For more information, see id_token.

refresh_tokenstring

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_typestring

The type of access token, which is always bearer.

See Also

Common objects