You are here

Oauth2Grant.php in Simple OAuth (OAuth2) & OpenID Connect 8.4

File

src/Annotation/Oauth2Grant.php
View source
<?php

namespace Drupal\simple_oauth\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a OAuth2 Grant item annotation object.
 *
 * @see \Drupal\simple_oauth\Plugin\Oauth2GrantManager
 * @see plugin_api
 *
 * @Annotation
 */
class Oauth2Grant extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The label of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

}

Classes

Namesort descending Description
Oauth2Grant Defines a OAuth2 Grant item annotation object.