Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ValidPhoneVerificationToken can be used to test successful confirmation // of active phone verifications. ValidPhoneVerificationToken = "123456" // InvalidPhoneVerificationToken can be used to test unsuccessful confirmation // of phone verifications. InvalidPhoneVerificationToken = "999999" )
Variables ¶
This section is empty.
Functions ¶
func NewVerifier ¶
NewVerifier returns a new in memory phone verifier that always "sends" a code with value 123456. Verifications are long lived and will be completed when either canceled or pass validation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.