authenticateCredential | (input) => Promise< | { authenticationResponse: AuthenticationResponseJSON; status: "OK"; } | { error: any; status: "FAILED_TO_AUTHENTICATE_USER"; } | { error: any; status: "WEBAUTHN_NOT_SUPPORTED"; }> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:251 |
authenticateCredentialWithSignIn | (input) => Promise< | { fetchResponse: Response; status: "OK"; user: User; } | { fetchResponse: Response; status: "INVALID_OPTIONS_ERROR"; } | { fetchResponse: Response; status: "INVALID_CREDENTIALS_ERROR"; } | { fetchResponse: Response; reason: string; status: "SIGN_IN_NOT_ALLOWED"; } | { error: any; status: "FAILED_TO_AUTHENTICATE_USER"; } | { error: any; status: "WEBAUTHN_NOT_SUPPORTED"; } | GeneralErrorResponse> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:293 |
createAndRegisterCredentialForSessionUser | (input) => Promise< | { fetchResponse: Response; status: "OK"; } | GeneralErrorResponse | { reason?: string; status: "REGISTER_CREDENTIAL_NOT_ALLOWED"; } | { err: string; status: "INVALID_EMAIL_ERROR"; } | { status: "INVALID_CREDENTIALS_ERROR"; } | { status: "OPTIONS_NOT_FOUND_ERROR"; } | { status: "INVALID_OPTIONS_ERROR"; } | { reason?: string; status: "INVALID_AUTHENTICATOR_ERROR"; } | { status: "AUTHENTICATOR_ALREADY_REGISTERED"; } | { error: any; status: "FAILED_TO_REGISTER_USER"; } | { error: any; status: "WEBAUTHN_NOT_SUPPORTED"; }> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:338 |
createCredential | (input) => Promise< | { registrationResponse: RegistrationResponseJSON; status: "OK"; } | { status: "AUTHENTICATOR_ALREADY_REGISTERED"; } | { error: any; status: "FAILED_TO_REGISTER_USER"; } | { error: any; status: "WEBAUTHN_NOT_SUPPORTED"; }> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:239 |
doesBrowserSupportWebAuthn | (input) => Promise< | { browserSupportsWebauthn: boolean; platformAuthenticatorIsAvailable: boolean; status: "OK"; } | { error: any; status: "ERROR"; }> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:406 |
generateRecoverAccountToken | (input) => Promise< | { fetchResponse: Response; status: "OK"; } | { fetchResponse: Response; reason: string; status: "RECOVER_ACCOUNT_NOT_ALLOWED"; } | GeneralErrorResponse> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:207 |
getEmailExists | (input) => Promise< | { exists: boolean; fetchResponse: Response; status: "OK"; } | GeneralErrorResponse> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:199 |
getRegisterOptions | (input) => Promise< | RegistrationOptions | { fetchResponse: Response; status: "RECOVER_ACCOUNT_TOKEN_INVALID_ERROR"; } | { err: string; fetchResponse: Response; status: "INVALID_EMAIL_ERROR"; } | { fetchResponse: Response; status: "INVALID_OPTIONS_ERROR"; }> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:126 |
getSignInOptions | (input) => Promise< | AuthenticationOptions | { fetchResponse: Response; status: "INVALID_OPTIONS_ERROR"; } | GeneralErrorResponse> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:147 |
listCredentials | (input) => Promise< | { credentials: object[]; fetchResponse: Response; status: "OK"; } | GeneralErrorResponse> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:359 |
recoverAccount | (input) => Promise< | { email: string; fetchResponse: Response; status: "OK"; user: User; } | GeneralErrorResponse | { fetchResponse: Response; status: "RECOVER_ACCOUNT_TOKEN_INVALID_ERROR"; } | { fetchResponse: Response; status: "INVALID_CREDENTIALS_ERROR"; } | { fetchResponse: Response; status: "OPTIONS_NOT_FOUND_ERROR"; } | { fetchResponse: Response; status: "INVALID_OPTIONS_ERROR"; } | { fetchResponse: Response; reason: string; status: "INVALID_AUTHENTICATOR_ERROR"; }> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:219 |
registerCredential | (input) => Promise< | { fetchResponse: Response; status: "OK"; } | GeneralErrorResponse | { fetchResponse: Response; reason?: string; status: "REGISTER_CREDENTIAL_NOT_ALLOWED"; } | { fetchResponse: Response; status: "INVALID_CREDENTIALS_ERROR"; } | { fetchResponse: Response; status: "OPTIONS_NOT_FOUND_ERROR"; } | { fetchResponse: Response; status: "INVALID_OPTIONS_ERROR"; } | { fetchResponse: Response; reason?: string; status: "INVALID_AUTHENTICATOR_ERROR"; }> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:384 |
registerCredentialWithRecoverAccount | (input) => Promise< | { email: string; fetchResponse: Response; status: "OK"; user: User; } | { fetchResponse: Response; status: "RECOVER_ACCOUNT_TOKEN_INVALID_ERROR"; } | { fetchResponse: Response; status: "INVALID_OPTIONS_ERROR"; } | GeneralErrorResponse | { fetchResponse: Response; status: "RECOVER_ACCOUNT_TOKEN_INVALID_ERROR"; } | { fetchResponse: Response; status: "INVALID_CREDENTIALS_ERROR"; } | { fetchResponse: Response; status: "OPTIONS_NOT_FOUND_ERROR"; } | { fetchResponse: Response; reason: string; status: "INVALID_AUTHENTICATOR_ERROR"; } | { status: "AUTHENTICATOR_ALREADY_REGISTERED"; } | { error: any; status: "FAILED_TO_REGISTER_USER"; } | { error: any; status: "WEBAUTHN_NOT_SUPPORTED"; }> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:310 |
registerCredentialWithSignUp | (input) => Promise< | { fetchResponse: Response; status: "OK"; user: User; } | { err: string; fetchResponse: Response; status: "INVALID_EMAIL_ERROR"; } | GeneralErrorResponse | { fetchResponse: Response; reason: string; status: "SIGN_UP_NOT_ALLOWED"; } | { fetchResponse: Response; status: "INVALID_CREDENTIALS_ERROR"; } | { fetchResponse: Response; status: "OPTIONS_NOT_FOUND_ERROR"; } | { fetchResponse: Response; status: "INVALID_OPTIONS_ERROR"; } | { fetchResponse: Response; reason: string; status: "INVALID_AUTHENTICATOR_ERROR"; } | { fetchResponse: Response; status: "EMAIL_ALREADY_EXISTS_ERROR"; } | { status: "AUTHENTICATOR_ALREADY_REGISTERED"; } | { error: any; status: "FAILED_TO_REGISTER_USER"; } | { error: any; status: "WEBAUTHN_NOT_SUPPORTED"; }> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:262 |
removeCredential | (input) => Promise< | { fetchResponse: Response; status: "OK"; } | GeneralErrorResponse | { fetchResponse: Response; status: "CREDENTIAL_NOT_FOUND_ERROR"; }> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:372 |
signIn | (input) => Promise< | { fetchResponse: Response; status: "OK"; user: User; } | { fetchResponse: Response; status: "INVALID_CREDENTIALS_ERROR"; } | { fetchResponse: Response; reason: string; status: "SIGN_IN_NOT_ALLOWED"; } | GeneralErrorResponse> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:179 |
signUp | (input) => Promise< | { fetchResponse: Response; status: "OK"; user: User; } | GeneralErrorResponse | { fetchResponse: Response; reason: string; status: "SIGN_UP_NOT_ALLOWED"; } | { fetchResponse: Response; status: "INVALID_CREDENTIALS_ERROR"; } | { fetchResponse: Response; status: "OPTIONS_NOT_FOUND_ERROR"; } | { fetchResponse: Response; status: "INVALID_OPTIONS_ERROR"; } | { fetchResponse: Response; reason: string; status: "INVALID_AUTHENTICATOR_ERROR"; } | { fetchResponse: Response; status: "EMAIL_ALREADY_EXISTS_ERROR"; }> | tmp/supertokens-web-js/lib/ts/recipe/webauthn/types.ts:155 |