public function AccessToken::__construct in Janrain Registration 8
Overrides Token::__construct
File
- src/
Authentication/ AccessToken.php, line 20
Class
- AccessToken
- The access token.
Namespace
Drupal\janrain_capture\AuthenticationCode
public function __construct(string $token, int $expiration, RefreshToken $refresh_token) {
parent::__construct($token);
$this
->setExpiration($expiration);
$this->refreshToken = $refresh_token;
}