| 1 | <?php |
||
| 18 | class Token extends AbstractAdapter |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Attributes. |
||
| 22 | * |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | protected $attributes = []; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Auth. |
||
| 29 | * |
||
| 30 | * @var Auth |
||
| 31 | */ |
||
| 32 | protected $auth; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Session manager. |
||
| 36 | * |
||
| 37 | * @var SessionManager |
||
| 38 | */ |
||
| 39 | protected $manager; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Set options. |
||
| 43 | */ |
||
| 44 | public function __construct(SessionManager $manager, Auth $auth) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritdoc} |
||
| 52 | */ |
||
| 53 | public function authenticate(): bool |
||
| 72 | |||
| 73 | /** |
||
| 74 | * {@inheritdoc} |
||
| 75 | */ |
||
| 76 | public function getAttributes(): array |
||
| 80 | } |
||
| 81 |