Interface OAuth2ResourceIndicatingProfileConfiguration
- All Known Subinterfaces:
OAuth2AccessTokenProducingProfileConfiguration,OAuth2AuthorizationProfileConfiguration,OAuth2PushedAuthorizationRequestConfiguration,OAuth2TokenAudienceConfiguration,OAuth2TokenConfiguration,OIDCAuthenticationProfileConfiguration,OIDCAuthenticationRelyingPartyProfileConfiguration,OIDCAuthorizationConfiguration,OIDCSSOProviderConfiguration
- All Known Implementing Classes:
AbstractOIDCSSOConfiguration,DefaultOAuth2PushedAuthorizationRequestConfiguration,DefaultOAuth2TokenAudienceConfiguration,DefaultOAuth2TokenConfiguration,DefaultOIDCAuthorizationConfiguration
public interface OAuth2ResourceIndicatingProfileConfiguration
Configuration for profiles that use the OAuth 2.0 resource parameter (RFC8707) to indicate the target service
or resource for which access is being requested.
- Since:
- 3.4.0
-
Method Summary
Modifier and TypeMethodDescriptiongetResourceIndicators(ProfileRequestContext profileRequestContext) Get the set of OAuth 2.0 resource indicators associated with the given profile request context that specify the intended audiences of an OAuth 2.0 access token.
-
Method Details
-
getResourceIndicators
@ConfigurationSetting(name="resourceIndicators") @Nonnull @NonnullElements @Unmodifiable @NotLive default List<String> getResourceIndicators(@Nullable ProfileRequestContext profileRequestContext) Get the set of OAuth 2.0 resource indicators associated with the given profile request context that specify the intended audiences of an OAuth 2.0 access token.TODO: Default implementation should be removed in 4.0.0
- Parameters:
profileRequestContext- the profile request context- Returns:
- the set of resource indicators.
-