public function Oauth2GrantInterface::getGrantType in Simple OAuth (OAuth2) & OpenID Connect 8.4
Same name and namespace in other branches
- 8.2 src/Plugin/Oauth2GrantInterface.php \Drupal\simple_oauth\Plugin\Oauth2GrantInterface::getGrantType()
- 8.3 src/Plugin/Oauth2GrantInterface.php \Drupal\simple_oauth\Plugin\Oauth2GrantInterface::getGrantType()
- 5.x src/Plugin/Oauth2GrantInterface.php \Drupal\simple_oauth\Plugin\Oauth2GrantInterface::getGrantType()
Gets the grant object.
Return value
League\OAuth2\Server\Grant\GrantTypeInterface The grant type.
5 methods override Oauth2GrantInterface::getGrantType()
- AuthorizationCode::getGrantType in src/
Plugin/ Oauth2Grant/ AuthorizationCode.php - Gets the grant object.
- ClientCredentials::getGrantType in src/
Plugin/ Oauth2Grant/ ClientCredentials.php - Gets the grant object.
- Implicit::getGrantType in src/
Plugin/ Oauth2Grant/ Implicit.php - Gets the grant object.
- Password::getGrantType in src/
Plugin/ Oauth2Grant/ Password.php - Gets the grant object.
- RefreshToken::getGrantType in src/
Plugin/ Oauth2Grant/ RefreshToken.php - Gets the grant object.
File
- src/
Plugin/ Oauth2GrantInterface.php, line 19
Class
- Oauth2GrantInterface
- Defines an interface for OAuth2 Grant plugins.
Namespace
Drupal\simple_oauth\PluginCode
public function getGrantType();