matrix-js-sdk
    Preparing search index...

    Interface ValidTokenResponse

    Metadata from OAuth 2.0 token_endpoint as per https://datatracker.ietf.org/doc/html/rfc6749#section-5.1 With validated properties required in type

    This response is expected for the authorization code grant and refresh token grant, as defined in the Matrix spec.

    interface ValidTokenResponse {
        access_token: string;
        expires_in?: number;
        refresh_token?: string;
        scope?: string;
        token_type: "Bearer" | "bearer";
    }
    Index
    access_token: string
    expires_in?: number
    refresh_token?: string
    scope?: string
    token_type: "Bearer" | "bearer"