Table of Contents

Enum PhoneVerificationFailureType

Namespace
NuvTools.Security.Verification
Assembly
NuvTools.Security.dll

Why a code was not sent, or not accepted.

public enum PhoneVerificationFailureType

Fields

CodeIncorrect = 2

The code is not the one pending for the number.

Expired = 3

No code is pending for the number: it expired, it was already used, or none was sent.

InvalidNumber = 1

The number is not a valid E.164 number, or the provider cannot deliver to it.

None = 0

The code was sent, or accepted.

Rejected = 5

The provider refused the request for a reason this contract does not name.

TooManyAttempts = 4

The provider refuses more codes, or more checks, for the number for now.

Unavailable = 6

The provider could not be reached or answered unexpectedly. Nothing is known about the code.

Remarks

The values tell the application which message helps the person: a new code fixes Expired, typing again fixes CodeIncorrect, waiting fixes TooManyAttempts, and only another number fixes InvalidNumber.