VerificationService
in package
Table of Contents
Methods
- generateVerificationCode() : string
- singleSendEmailVerificationCode() : bool
- singleSendPhoneVerificationCode() : array<string|int, mixed>
- standaloneVerifyEmailCode() : bool
- standAloneVerifyPhoneCode() : bool
Methods
generateVerificationCode()
public
generateVerificationCode() : string
Return values
stringsingleSendEmailVerificationCode()
public
singleSendEmailVerificationCode(Contact $contact, string $email) : bool
Parameters
- $contact : Contact
- $email : string
Return values
boolsingleSendPhoneVerificationCode()
public
singleSendPhoneVerificationCode(Contact $contact, string $phoneNumber) : array<string|int, mixed>
Parameters
- $contact : Contact
- $phoneNumber : string
Return values
array<string|int, mixed>standaloneVerifyEmailCode()
public
standaloneVerifyEmailCode(Contact $contact, string $code) : bool
Parameters
- $contact : Contact
- $code : string
Return values
boolstandAloneVerifyPhoneCode()
public
standAloneVerifyPhoneCode(Contact $contact, string $code) : bool
Parameters
- $contact : Contact
- $code : string