auth

package
v0.0.0-...-e41513e Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthModel

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

func (*AuthModel) BindAuthKeyAndUser

func (m *AuthModel) BindAuthKeyAndUser(authKeyId int64, userId int32)

func (*AuthModel) CheckBannedByPhoneNumber

func (m *AuthModel) CheckBannedByPhoneNumber(phoneNumber string) bool

func (*AuthModel) CheckPhoneNumberExist

func (m *AuthModel) CheckPhoneNumberExist(phoneNumber string) bool

func (*AuthModel) InstallModel

func (m *AuthModel) InstallModel()

func (*AuthModel) MakeCancelCodeData

func (m *AuthModel) MakeCancelCodeData(authKeyId int64, phoneNumber, codeHash string) *phoneCodeData

func (*AuthModel) MakeCodeData

func (m *AuthModel) MakeCodeData(authKeyId int64, phoneNumber string) *phoneCodeData

func (*AuthModel) MakeCodeDataByHash

func (m *AuthModel) MakeCodeDataByHash(authKeyId int64, phoneNumber, codeHash string) *phoneCodeData

func (*AuthModel) RegisterCallback

func (m *AuthModel) RegisterCallback(cb interface{})

Jump to

Keyboard shortcuts

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