Documentation
    Preparing search index...

    Interface TokenRequestOptions

    interface TokenRequestOptions {
        clientId: string;
        clientSecret?: string;
        code?: string;
        codeVerifier?: string;
        grantType: string;
        redirectUri?: string;
        refreshToken?: string;
    }
    Index

    Properties

    clientId: string
    clientSecret?: string
    code?: string

    The OAuth2 grant type (e.g., AUTHORIZATION_CODE or REFRESH_TOKEN).

    codeVerifier?: string

    The code verifier (optional for PKCE in AUTHORIZATION_CODE grant).

    grantType: string

    The OAuth2 grant type (e.g., AUTHORIZATION_CODE or REFRESH_TOKEN).

    redirectUri?: string

    The redirect URI (optional for AUTHORIZATION_CODE grant).

    refreshToken?: string

    The refresh token (required for REFRESH_TOKEN grant).