Interface OAuth2GrantType
- All Superinterfaces:
Provider
- All Known Implementing Classes:
AuthorizationCodeGrantType
,CibaGrantType
,ClientCredentialsGrantType
,DeviceGrantType
,OAuth2GrantTypeBase
,PermissionGrantType
,PreAuthorizedCodeGrantType
,RefreshTokenGrantType
,ResourceOwnerPasswordCredentialsGrantType
,TokenExchangeGrantType
Provider interface for OAuth 2.0 grant types
- Author:
- Dmitry Telegin
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the event type associated with this OAuth 2.0 grant type.jakarta.ws.rs.core.Response
process
(OAuth2GrantType.Context context) Processes grant request.
-
Method Details
-
getEventType
EventType getEventType()Returns the event type associated with this OAuth 2.0 grant type.- Returns:
- event type
-
getSupportedMultivaluedRequestParameters
- Returns:
- request parameters, which can be duplicated for the particular grant type. The grant request is typically rejected if request contains multiple values of some parameter, which is not listed here
-
process
Processes grant request.- Parameters:
context
- grant request context- Returns:
- token response
-