Documentation

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
string

singleSendEmailVerificationCode()

public singleSendEmailVerificationCode(Contact $contact, string $email) : bool
Parameters
$contact : Contact
$email : string
Return values
bool

singleSendPhoneVerificationCode()

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
bool

standAloneVerifyPhoneCode()

public standAloneVerifyPhoneCode(Contact $contact, string $code) : bool
Parameters
$contact : Contact
$code : string
Return values
bool

        
On this page

Search results