Interface OAuth2AuthorizationProfileConfiguration
- All Known Subinterfaces:
OIDCAuthenticationProfileConfiguration,OIDCAuthenticationRelyingPartyProfileConfiguration,OIDCAuthorizationConfiguration
- All Known Implementing Classes:
DefaultOIDCAuthorizationConfiguration
public interface OAuth2AuthorizationProfileConfiguration
Configuration for a generic OAuth 2.0 authorization request.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumEnumeration of the HTTP methods used in various OAuth requests. -
Method Summary
Modifier and TypeMethodDescriptiongetHttpRequestMethod(ProfileRequestContext profileRequestContext) Get the HTTP request method for an authentication request.getResponseMode(ProfileRequestContext profileRequestContext) Get the response_mode to use for authorization requests.getResponseType(ProfileRequestContext profileRequestContext) Get the response_type to use for authorization requests.getScopes(ProfileRequestContext profileRequestContext) Get the scopes to use in authentication requests.
-
Method Details
-
getScopes
@Nullable @NonnullElements @Unmodifiable @NotLive Set<String> getScopes(@Nullable ProfileRequestContext profileRequestContext) Get the scopes to use in authentication requests.- Parameters:
profileRequestContext- the profile request context- Returns:
- the scopes
- Since:
- 2.2.0
-
getHttpRequestMethod
@Nullable OAuth2AuthorizationProfileConfiguration.HttpRequestMethod getHttpRequestMethod(@Nullable ProfileRequestContext profileRequestContext) Get the HTTP request method for an authentication request.- Parameters:
profileRequestContext- profile request context- Returns:
- the HTTP request method
-
getResponseMode
Get the response_mode to use for authorization requests.- Parameters:
profileRequestContext- the profile request context- Returns:
- the response_mode
- Since:
- 2.2.0
-
getResponseType
Get the response_type to use for authorization requests.- Parameters:
profileRequestContext- the profile request context- Returns:
- the response_type
- Since:
- 2.2.0
-