Skip to content
  • Auto
  • Light
  • Dark
Download Beeper

Token

Token

Operations related to the current access token

Get user info
client.token.info(RequestOptionsoptions?): UserInfo
get/oauth/userinfo
ModelsExpand Collapse
RevokeRequest { token, token_type_hint }
token: string

The token to revoke

token_type_hint?: "access_token"

Hint about the type of token being revoked

"access_token"
UserInfo { iat, scope, sub, 4 more }
iat: number

Issued at timestamp (Unix epoch seconds)

scope: string

Granted scopes

sub: string

Subject identifier (token ID)

token_use: "access"

Token type

"access"
aud?: string

Audience (client ID)

client_id?: string

Client identifier

exp?: number

Expiration timestamp (Unix epoch seconds)