Documentation / @blizzard-api/client / ValidateAccessTokenResponse
Interface: ValidateAccessTokenResponse
Defined in: client/src/client/types.ts:94
A response from validating an access token.
See
https://develop.battle.net/documentation/guides/using-oauth/client-credentials-flow
Example
ts
const response: ValidateAccessTokenResponse = {
scope: ['wow.profile'],
account_authorities: [],
exp: 1617000000,
client_authorities: [],
authorities: ['wow.profile'],
client_id: 'client'
};Properties
account_authorities
account_authorities:
unknown[]
Defined in: client/src/client/types.ts:95
authorities
authorities:
string[]
Defined in: client/src/client/types.ts:96
client_authorities
client_authorities:
unknown[]
Defined in: client/src/client/types.ts:97
client_id
client_id:
string
Defined in: client/src/client/types.ts:98
exp
exp:
number
Defined in: client/src/client/types.ts:99
scope
scope:
string[]
Defined in: client/src/client/types.ts:100