RefreshToken.php in Janrain Registration 8
Namespace
Drupal\janrain_capture\AuthenticationFile
src/Authentication/RefreshToken.phpView source
<?php
namespace Drupal\janrain_capture\Authentication;
/**
* The refresh token.
*/
class RefreshToken extends Token {
/**
* {@inheritdoc}
*/
public function getExpiration() : ?\DateTime {
// The refresh token is permanent therefore has no expiration.
return NULL;
}
}
Classes
Name | Description |
---|---|
RefreshToken | The refresh token. |