sms_auth_confirmation

package
v0.0.0-...-8122643 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const CachedPhoneAuthProtocol = "cached_phone"

Variables

This section is empty.

Functions

This section is empty.

Types

type CachedPhoneAuthMethod

type CachedPhoneAuthMethod struct {
	auth.AuthHandlerBase
}

func NewCachedPhoneAuthMethod

func NewCachedPhoneAuthMethod() *CachedPhoneAuthMethod

func (*CachedPhoneAuthMethod) Handle

func (a *CachedPhoneAuthMethod) Handle(ctx auth.AuthContext) (bool, error)

func (*CachedPhoneAuthMethod) Init

func (a *CachedPhoneAuthMethod) Init(cfg config.Config, log logger.Logger, vld validator.Validator, configPath ...string) error

func (*CachedPhoneAuthMethod) SetAuthManager

func (a *CachedPhoneAuthMethod) SetAuthManager(manager auth.AuthManager)

type User

type User struct {
	auth.UserBase
	// contains filtered or unexported fields
}

func (*User) Phone

func (u *User) Phone() string

Jump to

Keyboard shortcuts

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