ENUM

VerifyOneTimePasswordErrorCode

The possible error enums returned while trying to verify a one time password.

link GraphQL Schema definition

1enum VerifyOneTimePasswordErrorCode {
2
3# The user needs to re-authenticate to perform this operation.
4REAUTH_NEEDED
5
6# The one time password submitted is invalid.
7INVALID_OTP
8
9# The user does not have two factor enabled and cannot verify a one time password.
10NO_TWO_FACTOR
11
12# Something unexpected occured.
13UNKNOWN_ERROR
14}