class RefreshToken in Janrain Registration 8
The refresh token.
Hierarchy
- class \Drupal\janrain_capture\Authentication\Token
- class \Drupal\janrain_capture\Authentication\RefreshToken
Expanded class hierarchy of RefreshToken
1 file declares its use of RefreshToken
File
- src/
Authentication/ RefreshToken.php, line 8
Namespace
Drupal\janrain_capture\AuthenticationView source
class RefreshToken extends Token {
/**
* {@inheritdoc}
*/
public function getExpiration() : ?\DateTime {
// The refresh token is permanent therefore has no expiration.
return NULL;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RefreshToken:: |
public | function |
Overrides Token:: |
|
Token:: |
protected | property | The expiration of a token. | |
Token:: |
protected | property | The token's life in seconds. | |
Token:: |
protected | property | The token itself. | |
Token:: |
public | function | ||
Token:: |
public | function | ||
Token:: |
public | function | ||
Token:: |
public | function | ||
Token:: |
public | function | 1 | |
Token:: |
public | function |