supertokens-node
    Preparing search index...

    Type Alias TypeProvider

    type TypeProvider = {
        config: ProviderConfigForClientType;
        exchangeAuthCodeForOAuthTokens: (
            input: {
                redirectURIInfo: {
                    pkceCodeVerifier?: string;
                    redirectURIOnProviderDashboard: string;
                    redirectURIQueryParams: Record<string, string>;
                };
                userContext?: UserContext;
            },
        ) => Promise<any>;
        getAuthorisationRedirectURL: (
            input: {
                redirectURIOnProviderDashboard: string;
                userContext?: UserContext;
            },
        ) => Promise<{ pkceCodeVerifier?: string; urlWithQueryParams: string }>;
        getConfigForClientType: (
            input: { clientType?: string; userContext?: UserContext },
        ) => Promise<ProviderConfigForClientType>;
        getUserInfo: (
            input: { oAuthTokens: any; userContext?: UserContext },
        ) => Promise<UserInfo>;
        id: string;
    }
    Index

    Properties

    config: ProviderConfigForClientType
    exchangeAuthCodeForOAuthTokens: (
        input: {
            redirectURIInfo: {
                pkceCodeVerifier?: string;
                redirectURIOnProviderDashboard: string;
                redirectURIQueryParams: Record<string, string>;
            };
            userContext?: UserContext;
        },
    ) => Promise<any>
    getAuthorisationRedirectURL: (
        input: {
            redirectURIOnProviderDashboard: string;
            userContext?: UserContext;
        },
    ) => Promise<{ pkceCodeVerifier?: string; urlWithQueryParams: string }>
    getConfigForClientType: (
        input: { clientType?: string; userContext?: UserContext },
    ) => Promise<ProviderConfigForClientType>
    getUserInfo: (
        input: { oAuthTokens: any; userContext?: UserContext },
    ) => Promise<UserInfo>
    id: string