Variable verifyCredentials
verifyCredentials: (
input: {
credential: AuthenticationPayload;
tenantId: string;
userContext?: Record<string, any>;
webauthnGeneratedOptionsId: string;
},
) => Promise<
{
status: | "OK"
| "UNKNOWN_USER_ID_ERROR"
| "INVALID_OPTIONS_ERROR"
| "OPTIONS_NOT_FOUND_ERROR"
| "INVALID_CREDENTIALS_ERROR"
| "INVALID_AUTHENTICATOR_ERROR"
| "CREDENTIAL_NOT_FOUND_ERROR";
},
> = Wrapper.verifyCredentials
Type declaration
- (
input: {
credential: AuthenticationPayload;
tenantId: string;
userContext?: Record<string, any>;
webauthnGeneratedOptionsId: string;
},
): Promise<
{
status: | "OK"
| "UNKNOWN_USER_ID_ERROR"
| "INVALID_OPTIONS_ERROR"
| "OPTIONS_NOT_FOUND_ERROR"
| "INVALID_CREDENTIALS_ERROR"
| "INVALID_AUTHENTICATOR_ERROR"
| "CREDENTIAL_NOT_FOUND_ERROR";
},
> Parameters
- input: {
credential: AuthenticationPayload;
tenantId: string;
userContext?: Record<string, any>;
webauthnGeneratedOptionsId: string;
}
Returns Promise<
{
status: | "OK"
| "UNKNOWN_USER_ID_ERROR"
| "INVALID_OPTIONS_ERROR"
| "OPTIONS_NOT_FOUND_ERROR"
| "INVALID_CREDENTIALS_ERROR"
| "INVALID_AUTHENTICATOR_ERROR"
| "CREDENTIAL_NOT_FOUND_ERROR";
},
>