You are here

interface AccessTokenValueInterface in Simple OAuth (OAuth2) & OpenID Connect 8

Hierarchy

Expanded class hierarchy of AccessTokenValueInterface

All classes that implement AccessTokenValueInterface

File

src/AccessTokenValueInterface.php, line 6

Namespace

Drupal\simple_oauth
View source
interface AccessTokenValueInterface {

  /**
   * Digest the values to produce a token.
   *
   * @return string
   */
  public function digest();

  /**
   * Factory method to create a token value from the entity values.
   *
   * @param array $values
   *   The values to digest.
   *
   * @return AccessTokenValueInterface
   *   The token value.
   */
  public static function createFromValues(array $values);

  /**
   * Gets the values.
   *
   * @return array
   *   The values.
   */
  public function getValues();

  /**
   * Sets the values.
   *
   * @param array $values
   *   The values.
   */
  public function setValues($values);

}

Members

Namesort descending Modifiers Type Description Overrides
AccessTokenValueInterface::createFromValues public static function Factory method to create a token value from the entity values. 1
AccessTokenValueInterface::digest public function Digest the values to produce a token. 1
AccessTokenValueInterface::getValues public function Gets the values. 1
AccessTokenValueInterface::setValues public function Sets the values. 1