Type alias AccessTokenEntity

AccessTokenEntity: CredentialEntity & {
    cachedAt: string;
    expiresOn: string;
    extendedExpiresOn?: string;
    realm: string;
    refreshOn?: string;
    requestedClaims?: string;
    requestedClaimsHash?: string;
    target: string;
    tokenType?: AuthenticationScheme;
}

Access token cache type

Type declaration

  • cachedAt: string

    Absolute device time when entry was created in the cache.

  • expiresOn: string

    Token expiry time, calculated based on current UTC time in seconds. Represented as a string.

  • Optional extendedExpiresOn?: string

    Additional extended expiry time until when token is valid in case of server-side outage. Represented as string in UTC seconds.

  • realm: string

    Full tenant or organizational identifier that the account belongs to

  • Optional refreshOn?: string

    Used for proactive refresh

  • Optional requestedClaims?: string

    Stringified claims object

  • Optional requestedClaimsHash?: string

    Matches the SHA 256 hash of the claims object included in the token request

  • target: string

    Permissions that are included in the token, or for refresh tokens, the resource identifier.

  • Optional tokenType?: AuthenticationScheme

    Matches the authentication scheme for which the token was issued (i.e. Bearer or pop)

Generated using TypeDoc