WebAuthn Types
Enumerations
RecoverAccountScreen
Defined in: recipe/webauthn/types.ts:190
Enumeration Members
SendRecoveryEmailScreen
Defined in: recipe/webauthn/types.ts:217
Enumeration Members
Type Aliases
ComponentOverrideMap
type ComponentOverrideMap = object;
Defined in: recipe/webauthn/types.ts:125
Properties
Config
type Config = UserInput & AuthRecipeModuleConfig<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext>;
Defined in: recipe/webauthn/types.ts:104
ContinueOnSuccessParams
type ContinueOnSuccessParams = object;
Defined in: recipe/webauthn/types.ts:237
Properties
ContinueWithPasskeyProps
type ContinueWithPasskeyProps = object;
Defined in: recipe/webauthn/types.ts:253
Properties
EmailSentProps
type EmailSentProps = object;
Defined in: recipe/webauthn/types.ts:262
Properties
FeatureBlockDetailProps
type FeatureBlockDetailProps = object;
Defined in: recipe/webauthn/types.ts:241
Properties
GetRedirectionURLContext
type GetRedirectionURLContext = NormalisedGetRedirectionURLContext<{
action: "SEND_RECOVERY_EMAIL";
}>;
Defined in: recipe/webauthn/types.ts:55
NormalisedConfig
type NormalisedConfig = object & NormalisedAuthRecipeModuleConfig<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext>;
Defined in: recipe/webauthn/types.ts:113
Type Declaration
NormalisedRecoveryFeatureConfig
type NormalisedRecoveryFeatureConfig = NormalisedBaseConfig & object;
Defined in: recipe/webauthn/types.ts:109
Type Declaration
NormalisedSignInAndUpFormFeatureConfig
type NormalisedSignInAndUpFormFeatureConfig = NormalisedBaseConfig;
Defined in: recipe/webauthn/types.ts:107
OnHandleEventContext
type OnHandleEventContext =
| {
action: "SUCCESS";
createdNewSession: boolean;
isNewRecipeUser: boolean;
user: SuperTokensWrapper;
}
| {
action: "GET_EMAIL_EXISTS";
exists: boolean;
}
| {
action: "REGISTER_CREDENTIAL_OK";
}
| {
action: "AUTHENTICATE_CREDENTIAL_OK";
}
| {
action: "FAILED_TO_REGISTER_USER";
}
| AuthRecipeModuleOnHandleEventContext;
Defined in: recipe/webauthn/types.ts:74
PreAndPostAPIHookAction
type PreAndPostAPIHookAction =
| "REGISTER_OPTIONS"
| "SIGN_IN_OPTIONS"
| "SIGN_UP"
| "SIGN_IN"
| "EMAIL_EXISTS"
| "GENERATE_RECOVER_ACCOUNT_TOKEN"
| "RECOVER_ACCOUNT"
| "REGISTER_CREDENTIAL"
| "REMOVE_CREDENTIAL"
| "LIST_CREDENTIALS";
Defined in: recipe/webauthn/types.ts:62
RecipeImplementation
type RecipeImplementation = WebJSRecipeInterface<typeof SuperTokensWrapper>;
Defined in: recipe/webauthn/types.ts:123
RecoverAccountWithTokenProps
type RecoverAccountWithTokenProps = object;
Defined in: recipe/webauthn/types.ts:178
Properties
RecoverAccountWithTokenThemeProps
type RecoverAccountWithTokenThemeProps = object;
Defined in: recipe/webauthn/types.ts:195
Properties
RecoverFormProps
type RecoverFormProps = object;
Defined in: recipe/webauthn/types.ts:247
Properties
RegisterOptions
type RegisterOptions = Extract<Awaited<ReturnType<RecipeImplementation["getRegisterOptions"]>>, {
status: "OK";
}>;
Defined in: recipe/webauthn/types.ts:185
SendRecoveryEmailFormProps
type SendRecoveryEmailFormProps = object;
Defined in: recipe/webauthn/types.ts:210
Properties
SendRecoveryEmailFormThemeProps
type SendRecoveryEmailFormThemeProps = object;
Defined in: recipe/webauthn/types.ts:222
Properties
SignInThemeProps
type SignInThemeProps = SignUpThemeBaseProps & object;
Defined in: recipe/webauthn/types.ts:162
Type Declaration
SignUpFormProps
type SignUpFormProps = object;
Defined in: recipe/webauthn/types.ts:166
Properties
SignUpThemeBaseProps
type SignUpThemeBaseProps = object;
Defined in: recipe/webauthn/types.ts:143
Properties
SignUpThemeProps
type SignUpThemeProps = SignUpThemeBaseProps & object;
Defined in: recipe/webauthn/types.ts:158
Type Declaration
UserInput
type UserInput = Record<string, unknown> & object & AuthRecipeModuleUserInput<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext>;
Defined in: recipe/webauthn/types.ts:96
Type Declaration
WebAuthnMFAAction
type WebAuthnMFAAction =
| {
accessDenied?: boolean;
error: string | undefined;
type: "setError";
}
| {
canRegisterPasskey: boolean;
deviceSupported: boolean;
email: string | undefined;
error: string | undefined;
hasRegisteredPassKey: boolean;
showBackButton: boolean;
type: "load";
};
Defined in: recipe/webauthn/types.ts:267
WebAuthnMFAProps
type WebAuthnMFAProps = object;
Defined in: recipe/webauthn/types.ts:307
Properties
WebAuthnMFAState
type WebAuthnMFAState = WebAuthnMFAInitialState | WebAuthnMFALoadedState;
Defined in: recipe/webauthn/types.ts:305