2016-12-20 13:15:22 +01:00
|
|
|
---
|
|
|
|
title: authorization
|
|
|
|
---
|
2016-12-19 16:56:52 +01:00
|
|
|
## Constructor: authorization
|
2016-12-20 13:15:22 +01:00
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
2016-12-19 16:56:52 +01:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
|
|
|
|hash|[long](../types/long.md) | Required|
|
|
|
|
|device\_model|[string](../types/string.md) | Required|
|
|
|
|
|platform|[string](../types/string.md) | Required|
|
|
|
|
|system\_version|[string](../types/string.md) | Required|
|
|
|
|
|api\_id|[int](../types/int.md) | Required|
|
|
|
|
|app\_name|[string](../types/string.md) | Required|
|
|
|
|
|app\_version|[string](../types/string.md) | Required|
|
|
|
|
|date\_created|[int](../types/int.md) | Required|
|
|
|
|
|date\_active|[int](../types/int.md) | Required|
|
|
|
|
|ip|[string](../types/string.md) | Required|
|
|
|
|
|country|[string](../types/string.md) | Required|
|
|
|
|
|region|[string](../types/string.md) | Required|
|
|
|
|
|
2016-12-19 18:56:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
### Type: [Authorization](../types/Authorization.md)
|
|
|
|
|
|
|
|
|
2016-12-19 16:56:52 +01:00
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
2016-12-19 17:48:27 +01:00
|
|
|
$authorization = ['_' => authorization', 'hash' => long, 'device_model' => string, 'platform' => string, 'system_version' => string, 'api_id' => int, 'app_name' => string, 'app_version' => string, 'date_created' => int, 'date_active' => int, 'ip' => string, 'country' => string, 'region' => string, ];
|
2016-12-19 16:56:52 +01:00
|
|
|
```
|