type github.com/gotd/td/tg.AuthAuthorization

54 uses

	github.com/gotd/td/tg (current package)
		tl_auth_authorization_gen.go#L38: type AuthAuthorization struct {
		tl_auth_authorization_gen.go#L74: func (a AuthAuthorization) construct() AuthAuthorizationClass { return &a }
		tl_auth_authorization_gen.go#L78: 	_ bin.Encoder     = &AuthAuthorization{}
		tl_auth_authorization_gen.go#L79: 	_ bin.Decoder     = &AuthAuthorization{}
		tl_auth_authorization_gen.go#L80: 	_ bin.BareEncoder = &AuthAuthorization{}
		tl_auth_authorization_gen.go#L81: 	_ bin.BareDecoder = &AuthAuthorization{}
		tl_auth_authorization_gen.go#L83: 	_ AuthAuthorizationClass = &AuthAuthorization{}
		tl_auth_authorization_gen.go#L86: func (a *AuthAuthorization) Zero() bool {
		tl_auth_authorization_gen.go#L113: func (a *AuthAuthorization) String() string {
		tl_auth_authorization_gen.go#L117: 	type Alias AuthAuthorization
		tl_auth_authorization_gen.go#L122: func (a *AuthAuthorization) FillFrom(from interface {
		tl_auth_authorization_gen.go#L148: func (*AuthAuthorization) TypeID() uint32 {
		tl_auth_authorization_gen.go#L153: func (*AuthAuthorization) TypeName() string {
		tl_auth_authorization_gen.go#L158: func (a *AuthAuthorization) TypeInfo() tdp.Type {
		tl_auth_authorization_gen.go#L197: func (a *AuthAuthorization) SetFlags() {
		tl_auth_authorization_gen.go#L213: func (a *AuthAuthorization) Encode(b *bin.Buffer) error {
		tl_auth_authorization_gen.go#L222: func (a *AuthAuthorization) EncodeBare(b *bin.Buffer) error {
		tl_auth_authorization_gen.go#L249: func (a *AuthAuthorization) Decode(b *bin.Buffer) error {
		tl_auth_authorization_gen.go#L260: func (a *AuthAuthorization) DecodeBare(b *bin.Buffer) error {
		tl_auth_authorization_gen.go#L302: func (a *AuthAuthorization) SetSetupPasswordRequired(value bool) {
		tl_auth_authorization_gen.go#L313: func (a *AuthAuthorization) GetSetupPasswordRequired() (value bool) {
		tl_auth_authorization_gen.go#L321: func (a *AuthAuthorization) SetOtherwiseReloginDays(value int) {
		tl_auth_authorization_gen.go#L328: func (a *AuthAuthorization) GetOtherwiseReloginDays() (value int, ok bool) {
		tl_auth_authorization_gen.go#L339: func (a *AuthAuthorization) SetTmpSessions(value int) {
		tl_auth_authorization_gen.go#L346: func (a *AuthAuthorization) GetTmpSessions() (value int, ok bool) {
		tl_auth_authorization_gen.go#L357: func (a *AuthAuthorization) SetFutureAuthToken(value []byte) {
		tl_auth_authorization_gen.go#L364: func (a *AuthAuthorization) GetFutureAuthToken() (value []byte, ok bool) {
		tl_auth_authorization_gen.go#L375: func (a *AuthAuthorization) GetUser() (value UserClass) {
		tl_auth_authorization_gen.go#L610: 		v := AuthAuthorization{}
		tl_auth_authorization_slices_gen.go#L122: 		value, ok := elem.(*AuthAuthorization)
		tl_auth_authorization_slices_gen.go#L146: type AuthAuthorizationArray []AuthAuthorization
		tl_auth_authorization_slices_gen.go#L149: func (s AuthAuthorizationArray) Sort(less func(a, b AuthAuthorization) bool) AuthAuthorizationArray {
		tl_auth_authorization_slices_gen.go#L157: func (s AuthAuthorizationArray) SortStable(less func(a, b AuthAuthorization) bool) AuthAuthorizationArray {
		tl_auth_authorization_slices_gen.go#L165: func (s AuthAuthorizationArray) Retain(keep func(x AuthAuthorization) bool) AuthAuthorizationArray {
		tl_auth_authorization_slices_gen.go#L179: func (s AuthAuthorizationArray) First() (v AuthAuthorization, ok bool) {
		tl_auth_authorization_slices_gen.go#L187: func (s AuthAuthorizationArray) Last() (v AuthAuthorization, ok bool) {
		tl_auth_authorization_slices_gen.go#L195: func (s *AuthAuthorizationArray) PopFirst() (v AuthAuthorization, ok bool) {
		tl_auth_authorization_slices_gen.go#L205: 	var zero AuthAuthorization
		tl_auth_authorization_slices_gen.go#L214: func (s *AuthAuthorizationArray) Pop() (v AuthAuthorization, ok bool) {
		tl_registry_gen.go#L3768: 		AuthAuthorizationTypeID:                                  func() bin.Object { return &AuthAuthorization{} },

	github.com/gotd/td/telegram/auth
		bot.go#L12: func (c *Client) Bot(ctx context.Context, token string) (*tg.AuthAuthorization, error) {
		flow.go#L96: 		case *tg.AuthAuthorization:
		flow.go#L117: 	SignIn(ctx context.Context, phone, code, codeHash string) (*tg.AuthAuthorization, error)
		flow.go#L119: 	Password(ctx context.Context, password string) (*tg.AuthAuthorization, error)
		flow.go#L120: 	SignUp(ctx context.Context, s SignUp) (*tg.AuthAuthorization, error)
		signup.go#L26: func checkResult(a tg.AuthAuthorizationClass) (*tg.AuthAuthorization, error) {
		signup.go#L28: 	case *tg.AuthAuthorization:
		user.go#L22: func (c *Client) Password(ctx context.Context, password string) (*tg.AuthAuthorization, error) {
		user.go#L102: func (c *Client) SignIn(ctx context.Context, phone, code, codeHash string) (*tg.AuthAuthorization, error) {
		user.go#L139: func (c *Client) SignUp(ctx context.Context, s SignUp) (*tg.AuthAuthorization, error) {

	github.com/gotd/td/telegram/auth/qrlogin
		qrlogin.go#L67: func (q QR) Import(ctx context.Context) (*tg.AuthAuthorization, error) {
		qrlogin.go#L97: 		auth, ok := success.Authorization.(*tg.AuthAuthorization)
		qrlogin.go#L103: 		auth, ok := t.Authorization.(*tg.AuthAuthorization)
		qrlogin.go#L141: ) (*tg.AuthAuthorization, error) {