2020-03-06 12:24:14 +01:00
|
|
|
---
|
|
|
|
title: auth.loginTokenSuccess
|
2020-06-16 17:50:25 +02:00
|
|
|
description: Login via token (QR code) succeded!
|
2020-03-06 12:24:14 +01:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
redirect_from: /API_docs/constructors/auth_loginTokenSuccess.html
|
|
|
|
---
|
|
|
|
# Constructor: auth.loginTokenSuccess
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-06-16 17:50:25 +02:00
|
|
|
Login via token (QR code) succeded!
|
|
|
|
|
2020-03-06 12:24:14 +01:00
|
|
|
### Attributes:
|
|
|
|
|
2020-06-16 17:50:25 +02:00
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|authorization|[auth.Authorization](../constructors/auth.Authorization.md) | Yes|Authorization info|
|
2020-03-06 12:24:14 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [auth.LoginToken](../types/auth.LoginToken.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$auth.loginTokenSuccess = ['_' => 'auth.loginTokenSuccess', 'authorization' => auth.Authorization];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
auth.loginTokenSuccess={_='auth.loginTokenSuccess', authorization=auth.Authorization}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|