You are here

RefreshToken.php in Janrain Registration 8

File

src/Authentication/RefreshToken.php
View 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

Namesort descending Description
RefreshToken The refresh token.