| 1 | <?php |
||
| 11 | class AccessToken implements AccessTokenInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * OpenID doesnot have a $token, it response $identity, it's a link to user |
||
| 15 | * |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $identity; |
||
| 19 | |||
| 20 | public function __construct($identity) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function getToken() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | public function getUserId() |
||
| 41 | } |
||
| 42 |