auth

package
v0.0.0-...-a76445b Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TermAuth

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

func (TermAuth) AcceptTermsOfService

func (c TermAuth) AcceptTermsOfService(ctx context.Context, tos tg.HelpTermsOfService) error

func (TermAuth) Code

func (a TermAuth) Code(_ context.Context, _ *tg.AuthSentCode) (string, error)

func (TermAuth) Password

func (a TermAuth) Password(_ context.Context) (string, error)

func (TermAuth) Phone

func (a TermAuth) Phone(_ context.Context) (string, error)

func (TermAuth) SignUp

func (c TermAuth) SignUp(ctx context.Context) (auth.UserInfo, error)

Jump to

Keyboard shortcuts

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