OAuthToken
Agent Runtimes / identity/types / OAuthToken
Interface: OAuthToken
Defined in: identity/types.ts:32
OAuth token with metadata
Properties
accessToken
accessToken:
string
Defined in: identity/types.ts:34
Access token
expiresAt?
optionalexpiresAt?:number
Defined in: identity/types.ts:38
Expiration timestamp (ms since epoch)
metadata?
optionalmetadata?:Record<string,unknown>
Defined in: identity/types.ts:44
Token metadata
refreshToken?
optionalrefreshToken?:string
Defined in: identity/types.ts:40
Refresh token for token renewal
scopes
scopes:
string[]
Defined in: identity/types.ts:42
Granted scopes
tokenType
tokenType:
string
Defined in: identity/types.ts:36
Token type (usually 'Bearer')