| 1 | <?php namespace Arcanedev\Socialite\OAuth\One; |
||
| 11 | class User extends AbstractUser |
||
| 12 | { |
||
| 13 | /* ------------------------------------------------------------------------------------------------ |
||
| 14 | | Properties |
||
| 15 | | ------------------------------------------------------------------------------------------------ |
||
| 16 | */ |
||
| 17 | /** |
||
| 18 | * The user's access token secret. |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | public $tokenSecret; |
||
| 23 | |||
| 24 | /* ------------------------------------------------------------------------------------------------ |
||
| 25 | | Getters & Setters |
||
| 26 | | ------------------------------------------------------------------------------------------------ |
||
| 27 | */ |
||
| 28 | /** |
||
| 29 | * Set the token on the user. |
||
| 30 | * |
||
| 31 | * @param string $token |
||
| 32 | * @param string $tokenSecret |
||
| 33 | * |
||
| 34 | * @return self |
||
| 35 | */ |
||
| 36 | 6 | public function setToken($token, $tokenSecret) |
|
| 43 | |||
| 44 | /** |
||
| 45 | * Set the raw user array from the provider. |
||
| 46 | * |
||
| 47 | * @param array $user |
||
| 48 | * |
||
| 49 | * @return self |
||
| 50 | */ |
||
| 51 | 6 | public function setRaw(array $user) |
|
| 55 | } |
||
| 56 |