OAuth 2.0

Get Access Token Information

Returns the scopes, remaining lifetime and OAuth application of the access token presented as a Bearer token.

get/oauth/v2/token/info

Request

  • Base URL
    https://api.proof.com
  • URL
    https://api.proof.com/oauth/v2/token/info
  • Auth
    HTTP bearer

Response

successful

scopestring[]

Scope values granted to the access token.

expires_ininteger

Remaining access token lifetime, in seconds.

created_atinteger

Issue time, as a Unix timestamp in seconds.

issstring

The iss claim: the authorization server that issued the access token.

audstring

The aud claim: the protected resource the access token was issued for. Present for resource-bound access tokens.

substring

The sub claim: the subject the access token was issued for.

sub_typestring

The kind of subject sub identifies.

emailstring

Email address of the User the access token was issued for. Returned when the granted scopes cover it.

given_namestring

First name of the User the access token was issued for. Returned when the granted scopes cover it.

family_namestring

Last name of the User the access token was issued for. Returned when the granted scopes cover it.

Changes

No recorded changes to this operation across all 1 revision of this API.