verifier_sms

package
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SenderFunc

type SenderFunc func(ctx context.Context, phone, code string, flash bool) error

type Verifier

type Verifier struct {
	// contains filtered or unexported fields
}

func New

func New(codeLen int, flash bool, sfn SenderFunc) *Verifier

func (*Verifier) Info

func (ver *Verifier) Info() identity.VerifierInfo

func (*Verifier) StartRegularVerification

func (ver *Verifier) StartRegularVerification(ctx context.Context, idn string, vd identity.VerifierData) (securityCode string, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL