You are here

public property Oauth2Client::$grant_type in OAuth2 Client 8.2

Same name and namespace in other branches
  1. 8.3 src/Annotation/Oauth2Client.php \Drupal\oauth2_client\Annotation\Oauth2Client::grant_type

The grant type of the OAuth2 authorization.

Possible values:

  • authorization_code
  • client_credentials
  • resource_owner - Note that the 'username' and 'password' attributes are required for this type.

Type: string

File

src/Annotation/Oauth2Client.php, line 48

Class

Oauth2Client
Annotation definition Oauth2Client plugins.

Namespace

Drupal\oauth2_client\Annotation

Code

public $grant_type;