Lines Matching defs:token
45 protected $token;
47 public function __construct(TokenInterface $token = null, array $options = [])
49 $this->token = $token ?? new AnonToken();
102 * Determine if the current token is "authenticated". In the case where authentication is not required, we always
111 return $this->token instanceof BindToken;
115 * Set the current token.
117 public function setToken(TokenInterface $token): void
119 $this->token = $token;
123 * Get the current token.
127 return $this->token;