Skip to content

Interface: ServiceTokenResponse

Interface: ServiceTokenResponse

Defined in: auth-shared/src/dto/auth.ts:190

POST /oauth/token (client_credentials grant) response. RFC 6749 §5.1

  • the absolute expires_at for wall-clock-friendly clients. No refresh_token — RFC 6749 §4.4.3 forbids refresh on client_credentials.

Properties

access_token

access_token: string

Defined in: auth-shared/src/dto/auth.ts:191


expires_at

expires_at: string

Defined in: auth-shared/src/dto/auth.ts:194


expires_in

expires_in: number

Defined in: auth-shared/src/dto/auth.ts:193


scope?

optional scope?: string

Defined in: auth-shared/src/dto/auth.ts:195


token_type

token_type: string

Defined in: auth-shared/src/dto/auth.ts:192