]>
Commit | Line | Data |
---|---|---|
c3235553 | 1 | <?php |
4346a860 | 2 | |
769e19dc | 3 | namespace Wallabag\ApiBundle\Security\Authentication\Token; |
c3235553 NL |
4 | |
5 | use Symfony\Component\Security\Core\Authentication\Token\AbstractToken; | |
6 | ||
7 | class WsseUserToken extends AbstractToken | |
8 | { | |
9 | public $created; | |
10 | public $digest; | |
11 | public $nonce; | |
12 | ||
13 | public function __construct(array $roles = array()) | |
14 | { | |
15 | parent::__construct($roles); | |
16 | ||
17 | $this->setAuthenticated(count($roles) > 0); | |
18 | } | |
19 | ||
20 | public function getCredentials() | |
21 | { | |
22 | return ''; | |
23 | } | |
7df80cb3 | 24 | } |