@auth0/nextjs-auth0 - v4.25.0
    Preparing search index...

    Interface CustomTokenExchangeResponse

    Response from Custom Token Exchange.

    interface CustomTokenExchangeResponse {
        accessToken: string;
        act?: ActClaim;
        expiresIn: number;
        idToken?: string;
        refreshToken?: string;
        scope?: string;
        tokenType: string;
    }
    Index

    Properties

    accessToken: string

    The access token issued by Auth0

    act?: ActClaim

    The actor claim decoded from the ID token, present in delegation/impersonation flows (RFC 8693 §4.1). Represents the acting party. May be nested to reflect a delegation chain.

    expiresIn: number

    Token lifetime in seconds

    idToken?: string

    The ID token, if openid scope was requested

    refreshToken?: string

    The refresh token, if offline_access scope was requested. Note: Auth0 suppresses the refresh token when actor_token is present in the request. This field will be undefined in delegation/impersonation flows.

    scope?: string

    Granted scopes

    tokenType: string

    Token type, typically "Bearer" or "DPoP"