Interface OAuth2AuthorizationProfileConfiguration
-
- All Known Subinterfaces:
OIDCAuthenticationProfileConfiguration,OIDCAuthenticationRelyingPartyProfileConfiguration,OIDCAuthorizationConfiguration
public interface OAuth2AuthorizationProfileConfigurationConfiguration for a generic OAuth 2.0 authorization request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOAuth2AuthorizationProfileConfiguration.HttpRequestMethodEnumeration of the HTTP methods used in various OAuth requests.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OAuth2AuthorizationProfileConfiguration.HttpRequestMethodgetHttpRequestMethod(ProfileRequestContext profileRequestContext)Get the HTTP request method for an authentication request.StringgetResponseMode(ProfileRequestContext profileRequestContext)Get the response_mode to use for authorization requests.StringgetResponseType(ProfileRequestContext profileRequestContext)Get the response_type to use for authorization requests.Set<String>getScopes(ProfileRequestContext profileRequestContext)Get the scopes to use in authentication requests.
-
-
-
Method Detail
-
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
@Nullable @NotEmpty String getResponseMode(@Nullable ProfileRequestContext profileRequestContext)
Get the response_mode to use for authorization requests.- Parameters:
profileRequestContext- the profile request context- Returns:
- the response_mode
- Since:
- 2.2.0
-
getResponseType
@Nullable @NotEmpty String getResponseType(@Nullable ProfileRequestContext profileRequestContext)
Get the response_type to use for authorization requests.- Parameters:
profileRequestContext- the profile request context- Returns:
- the response_type
- Since:
- 2.2.0
-
-