@nhost/hasura-auth-js
Version:
Hasura-auth client
17 lines (16 loc) • 584 B
TypeScript
import { AuthActionErrorState, AuthActionSuccessState, AuthClient, AuthErrorPayload } from '..';
export interface ElevateWithSecurityKeyHandlerResult extends AuthActionSuccessState, AuthActionErrorState {
elevated: boolean;
}
export declare const elevateEmailSecurityKeyPromise: (authClient: AuthClient, email: string) => Promise<{
error: AuthErrorPayload;
isError: boolean;
isSuccess: boolean;
elevated: boolean;
} | {
error: null;
isError: boolean;
isSuccess: boolean;
elevated: boolean;
}>;
//# sourceMappingURL=elevateEmailSecurityKey.d.ts.map