You are here

class RefreshToken in Janrain Registration 8

The refresh token.

Hierarchy

  • class \Drupal\janrain_capture\Authentication\Token

Expanded class hierarchy of RefreshToken

1 file declares its use of RefreshToken
JanrainCaptureApi.php in src/JanrainCaptureApi.php

File

src/Authentication/RefreshToken.php, line 8

Namespace

Drupal\janrain_capture\Authentication
View source
class RefreshToken extends Token {

  /**
   * {@inheritdoc}
   */
  public function getExpiration() : ?\DateTime {

    // The refresh token is permanent therefore has no expiration.
    return NULL;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
RefreshToken::getExpiration public function Overrides Token::getExpiration
Token::$expiration protected property The expiration of a token.
Token::$expiresIn protected property The token's life in seconds.
Token::$token protected property The token itself.
Token::getExpiresIn public function
Token::getToken public function
Token::isExpired public function
Token::setExpiration public function
Token::__construct public function 1
Token::__toString public function