supports

package
v0.0.0-...-8558057 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeAccount

func ChangeAccount(uid int64, id string, target string) (err error)

func CheckCodeWithPhone

func CheckCodeWithPhone(phone string, code string) (err error)

func CheckCodeWithUid

func CheckCodeWithUid(uid int64, code string) (err error)

func CheckSecret

func CheckSecret(uid int64, token string) (err error)

func CreateAccount

func CreateAccount(secret *authparams.Params) (err error)

func DecodeToken

func DecodeToken(token string) (uid int64, pt string, pl int64, nk string, t time.Time, err error)

func MakeSecret

func MakeSecret(uid int64) (token string, err error)

func MakeToken

func MakeToken(uid int64, pt string, pl int64, nk string) (token string, err error)

func QueryAuth

func QueryAuth(id string, account string) (uid int64, password string, pt string, pl int64, nk string, err error)

func QueryProcess

func QueryProcess(uid int64, mp *map[string]string) (err error)

func SendCodeWithPhone

func SendCodeWithPhone(phone string) (err error)

func SendCodeWithUid

func SendCodeWithUid(uid int64) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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