Auth0 Universal Components
    Preparing search index...

    Interface BasicAuth0ContextInterface<TUser>

    interface BasicAuth0ContextInterface<TUser = User> {
        getAccessTokenSilently: {
            (
                options: GetTokenSilentlyOptions & { detailedResponse: true },
            ): Promise<GetTokenSilentlyVerboseResponse>;
            (options?: GetTokenSilentlyOptions): Promise<string>;
            (
                options: GetTokenSilentlyOptions,
            ): Promise<string | GetTokenSilentlyVerboseResponse>;
        };
        getAccessTokenWithPopup: (options?: unknown) => Promise<string | undefined>;
        isAuthenticated: boolean;
        loginWithRedirect: (options?: unknown) => Promise<void>;
        user?: TUser;
    }

    Type Parameters

    • TUser = User
    Index

    Properties

    getAccessTokenSilently: {
        (
            options: GetTokenSilentlyOptions & { detailedResponse: true },
        ): Promise<GetTokenSilentlyVerboseResponse>;
        (options?: GetTokenSilentlyOptions): Promise<string>;
        (
            options: GetTokenSilentlyOptions,
        ): Promise<string | GetTokenSilentlyVerboseResponse>;
    }
    getAccessTokenWithPopup: (options?: unknown) => Promise<string | undefined>
    isAuthenticated: boolean
    loginWithRedirect: (options?: unknown) => Promise<void>
    user?: TUser