Sanity App SDK
    Preparing search index...

    Interface AuthStoreState

    interface AuthStoreState {
        authState: AuthState;
        dashboardContext?: DashboardContext;
        options: {
            apiHost: undefined | string;
            authMethod: AuthMethodOptions;
            callbackUrl: undefined | string;
            clientFactory: (config: ClientConfig) => SanityClient;
            customProviders:
                | undefined
                | AuthProvider[]
                | ((prev: AuthProvider[]) => AuthProvider[] | Promise<AuthProvider[]>);
            initialLocationHref: string;
            loginUrl: string;
            providedToken: undefined | string;
            storageArea: undefined | Storage;
            storageKey: string;
        };
        providers?: AuthProvider[];
    }
    Index

    Properties

    authState: AuthState
    dashboardContext?: DashboardContext
    options: {
        apiHost: undefined | string;
        authMethod: AuthMethodOptions;
        callbackUrl: undefined | string;
        clientFactory: (config: ClientConfig) => SanityClient;
        customProviders:
            | undefined
            | AuthProvider[]
            | ((prev: AuthProvider[]) => AuthProvider[] | Promise<AuthProvider[]>);
        initialLocationHref: string;
        loginUrl: string;
        providedToken: undefined | string;
        storageArea: undefined | Storage;
        storageKey: string;
    }
    providers?: AuthProvider[]