authorization_client

package
v0.96.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizationClient

type AuthorizationClient interface {
	AuthSendCode(ctx context.Context, in *mtproto.TLAuthSendCode) (*mtproto.Auth_SentCode, error)
	AuthSignUp(ctx context.Context, in *mtproto.TLAuthSignUp) (*mtproto.Auth_Authorization, error)
	AuthSignIn(ctx context.Context, in *mtproto.TLAuthSignIn) (*mtproto.Auth_Authorization, error)
	AuthLogOut(ctx context.Context, in *mtproto.TLAuthLogOut) (*mtproto.Auth_LoggedOut, error)
	AuthResetAuthorizations(ctx context.Context, in *mtproto.TLAuthResetAuthorizations) (*mtproto.Bool, error)
	AuthExportAuthorization(ctx context.Context, in *mtproto.TLAuthExportAuthorization) (*mtproto.Auth_ExportedAuthorization, error)
	AuthImportAuthorization(ctx context.Context, in *mtproto.TLAuthImportAuthorization) (*mtproto.Auth_Authorization, error)
	AuthBindTempAuthKey(ctx context.Context, in *mtproto.TLAuthBindTempAuthKey) (*mtproto.Bool, error)
	AuthImportBotAuthorization(ctx context.Context, in *mtproto.TLAuthImportBotAuthorization) (*mtproto.Auth_Authorization, error)
	AuthCheckPassword(ctx context.Context, in *mtproto.TLAuthCheckPassword) (*mtproto.Auth_Authorization, error)
	AuthRequestPasswordRecovery(ctx context.Context, in *mtproto.TLAuthRequestPasswordRecovery) (*mtproto.Auth_PasswordRecovery, error)
	AuthRecoverPassword(ctx context.Context, in *mtproto.TLAuthRecoverPassword) (*mtproto.Auth_Authorization, error)
	AuthResendCode(ctx context.Context, in *mtproto.TLAuthResendCode) (*mtproto.Auth_SentCode, error)
	AuthCancelCode(ctx context.Context, in *mtproto.TLAuthCancelCode) (*mtproto.Bool, error)
	AuthDropTempAuthKeys(ctx context.Context, in *mtproto.TLAuthDropTempAuthKeys) (*mtproto.Bool, error)
	AuthCheckRecoveryPassword(ctx context.Context, in *mtproto.TLAuthCheckRecoveryPassword) (*mtproto.Bool, error)
	AuthImportWebTokenAuthorization(ctx context.Context, in *mtproto.TLAuthImportWebTokenAuthorization) (*mtproto.Auth_Authorization, error)
	AuthRequestFirebaseSms(ctx context.Context, in *mtproto.TLAuthRequestFirebaseSms) (*mtproto.Bool, error)
	AuthResetLoginEmail(ctx context.Context, in *mtproto.TLAuthResetLoginEmail) (*mtproto.Auth_SentCode, error)
	AccountSendVerifyEmailCode(ctx context.Context, in *mtproto.TLAccountSendVerifyEmailCode) (*mtproto.Account_SentEmailCode, error)
	AccountVerifyEmail32DA4CF(ctx context.Context, in *mtproto.TLAccountVerifyEmail32DA4CF) (*mtproto.Account_EmailVerified, error)
	AccountResetPassword(ctx context.Context, in *mtproto.TLAccountResetPassword) (*mtproto.Account_ResetPasswordResult, error)
	AccountSetAuthorizationTTL(ctx context.Context, in *mtproto.TLAccountSetAuthorizationTTL) (*mtproto.Bool, error)
	AccountChangeAuthorizationSettings(ctx context.Context, in *mtproto.TLAccountChangeAuthorizationSettings) (*mtproto.Bool, error)
	AccountVerifyEmailECBA39DB(ctx context.Context, in *mtproto.TLAccountVerifyEmailECBA39DB) (*mtproto.Bool, error)
	AuthToggleBan(ctx context.Context, in *mtproto.TLAuthToggleBan) (*mtproto.PredefinedUser, error)
}

func NewAuthorizationClient

func NewAuthorizationClient(cli zrpc.Client) AuthorizationClient

Jump to

Keyboard shortcuts

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