matrix-js-sdk

    Type Alias BearerTokenResponse

    The expected response type from the token endpoint during authorization code flow Normalized to always use capitalized 'Bearer' for token_type

    See https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.4, https://openid.net/specs/openid-connect-basic-1_0.html#TokenOK.

    type BearerTokenResponse = {
        access_token: string;
        expires_at?: number;
        expires_in?: number;
        id_token: string;
        refresh_token?: string;
        scope: string;
        token_type: "Bearer";
    }
    Index

    Properties

    access_token: string
    expires_at?: number
    expires_in?: number
    id_token: string
    refresh_token?: string
    scope: string
    token_type: "Bearer"
    MMNEPVFCICPMFPCPTTAAATR