You are here

class Authentication in RESTful 7.2

Same name in this branch
  1. 7.2 src/Annotation/Authentication.php \Drupal\restful\Annotation\Authentication
  2. 7.2 src/Plugin/authentication/Authentication.php \Drupal\restful\Plugin\authentication\Authentication

Defines a RateLimit annotation object.

Hierarchy

  • class \Drupal\restful\Annotation\Authentication extends \Drupal\Component\Annotation\Plugin

Expanded class hierarchy of Authentication

1 string reference to 'Authentication'
RestfulAuthenticationTestCase::getInfo in tests/RestfulAuthenticationTestCase.test
4 classes are annotated with Authentication
BasicAuthentication in src/Plugin/authentication/BasicAuthentication.php
Class BasicAuthentication @package Drupal\restful\Plugin\authentication
CookieAuthentication in src/Plugin/authentication/CookieAuthentication.php
Class CookieAuthentication @package Drupal\restful\Plugin\authentication
OAuth2ServerAuthentication in src/Plugin/authentication/OAuth2ServerAuthentication.php
Authentication support for oauth2_server.
TokenAuthentication in modules/restful_token_auth/src/Plugin/authentication/TokenAuthentication.php
Class TokenAuthentication @package Drupal\restful\Plugin\authentication

File

src/Annotation/Authentication.php, line 19
Contains \Drupal\restful\Annotation\RateLimit.

Namespace

Drupal\restful\Annotation
View source
class Authentication extends Plugin {

  /**
   * The human readable name.
   *
   * @var string
   */
  public $label;

  /**
   * The description.
   *
   * @var string
   */
  public $description;

  /**
   * Extra options
   *
   * @var array
   */
  public $options;

}

Members

Namesort descending Modifiers Type Description Overrides
Authentication::$description public property The description.
Authentication::$label public property The human readable name.
Authentication::$options public property Extra options