Documentation ¶
Index ¶
- type AuthCore
- func (c *AuthCore) AuthAcceptLoginToken(in *auth.TLAuthAcceptLoginToken) (*mtproto.Authorization, error)
- func (c *AuthCore) AuthExportLoginToken(in *auth.TLAuthExportLoginToken) (*mtproto.Auth_LoginToken, error)
- func (c *AuthCore) AuthImportLoginToken(in *auth.TLAuthImportLoginToken) (*mtproto.Auth_LoginToken, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthCore ¶
type AuthCore struct { logx.Logger MD *metadata.RpcMetadata // contains filtered or unexported fields }
func (*AuthCore) AuthAcceptLoginToken ¶
func (c *AuthCore) AuthAcceptLoginToken(in *auth.TLAuthAcceptLoginToken) (*mtproto.Authorization, error)
AuthAcceptLoginToken auth.acceptLoginToken token:bytes = Authorization;
func (*AuthCore) AuthExportLoginToken ¶
func (c *AuthCore) AuthExportLoginToken(in *auth.TLAuthExportLoginToken) (*mtproto.Auth_LoginToken, error)
AuthExportLoginToken auth.exportLoginToken api_id:int api_hash:string except_ids:Vector<long> = auth.LoginToken;
func (*AuthCore) AuthImportLoginToken ¶
func (c *AuthCore) AuthImportLoginToken(in *auth.TLAuthImportLoginToken) (*mtproto.Auth_LoginToken, error)
AuthImportLoginToken auth.importLoginToken token:bytes = auth.LoginToken;
Click to show internal directories.
Click to hide internal directories.