Interface ClientCredentialsToken

Lo que devuelve POST /oauth/token. Ni refresh_token ni id_token: no existen aquí.

interface ClientCredentialsToken {
    access_token: string;
    expires_in: number;
    scope?: string;
    token_type: string;
}

Properties

access_token: string
expires_in: number

Segundos de vida. Keycloak da 300 hoy, pero es dato del servidor: nunca se asume.

scope?: string
token_type: string