express-openid-connect
    Preparing search index...

    Interface TokenExchangeResponse

    Represents the response from a token exchange request (RFC 8693).

    interface TokenExchangeResponse {
        access_token?: string;
        expires_at?: number;
        id_token?: string;
        issued_token_type?: string;
        refresh_token?: string;
        scope?: string;
        token_type?: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Vendor-specific or extension fields returned by the authorization server.

    Index

    Properties

    access_token?: string

    The exchanged access token.

    expires_at?: number

    Absolute UNIX timestamp (seconds) at which the access token expires. Use this instead of expires_in when persisting or forwarding expiry.

    id_token?: string

    ID token, if the AS returned one (uncommon for token exchange).

    issued_token_type?: string

    RFC 8693 — the type of token that was issued. Typically "urn:ietf:params:oauth:token-type:access_token".

    refresh_token?: string

    Refresh token, if the AS returned one.

    scope?: string

    Space-separated scopes granted by the AS.

    token_type?: string

    Usually "Bearer".