Interface: IssuedTokens
Defined in: auth-core/src/oauthServerTypes.ts:124
Tokens returned by the app's OAuthServerOptions.issueTokens hook.
Properties
accessToken
accessToken:
string
Defined in: auth-core/src/oauthServerTypes.ts:126
The access token string (JWT, opaque, …).
expiresIn?
optionalexpiresIn?:number
Defined in: auth-core/src/oauthServerTypes.ts:130
Access token lifetime in seconds, surfaced as expires_in.
refreshToken?
optionalrefreshToken?:string
Defined in: auth-core/src/oauthServerTypes.ts:128
Optional refresh token enabling the refresh_token grant.
scope?
optionalscope?:string
Defined in: auth-core/src/oauthServerTypes.ts:132
Granted scopes as a space-separated string. Defaults to the bound scopes.