Skip to content
  • Auto
  • Light
  • Dark
Download Beeper

Token

Token

Operations related to the current access token

Get user info
get/oauth/userinfo
ModelsExpand Collapse
RevokeRequest = object { token, token_type_hint }
token: string

The token to revoke

token_type_hint: optional "access_token"

Hint about the type of token being revoked

Accepts one of the following:
"access_token"
UserInfo = object { 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

Accepts one of the following:
"access"
aud: optional string

Audience (client ID)

client_id: optional string

Client identifier

exp: optional number

Expiration timestamp (Unix epoch seconds)