Interface OAuth2FlowAwareProfileConfiguration

All Superinterfaces:
Component, ConditionalProfileConfiguration, IdentifiedComponent, OAuth2ProfileConfiguration, ProfileConfiguration
All Known Subinterfaces:
OAuth2PushedAuthorizationRequestConfiguration, OAuth2TokenConfiguration, OIDCAuthenticationRelyingPartyProfileConfiguration, OIDCAuthorizationConfiguration, OIDCDynamicRegistrationConfiguration, OIDCFlowAwareProfileConfiguration, OIDCSSOProviderConfiguration, OIDCSSORelyingPartyConfiguration
All Known Implementing Classes:
AbstractOAuth2FlowAwareProfileConfiguration, AbstractOIDCSSOConfiguration, DefaultOAuth2PushedAuthorizationRequestConfiguration, DefaultOAuth2TokenConfiguration, DefaultOIDCAuthorizationConfiguration, DefaultOIDCDynamicRegistrationConfiguration

public interface OAuth2FlowAwareProfileConfiguration extends OAuth2ProfileConfiguration
Interface for profile configurations that understand OAuth 2.0 authorization grants corresponding to OIDC authentication flows.
  • Method Details

    • isAuthorizationCodeFlowEnabled

      @ConfigurationSetting(name="authorizationCodeFlowEnabled") boolean isAuthorizationCodeFlowEnabled(@Nullable ProfileRequestContext profileRequestContext)
      Get whether authorization code flow is supported by this profile.
      Parameters:
      profileRequestContext - profile request context
      Returns:
      whether authorization code flow is supported by this profile
    • isImplicitFlowEnabled

      @ConfigurationSetting(name="implicitFlowEnabled") boolean isImplicitFlowEnabled(@Nullable ProfileRequestContext profileRequestContext)
      Get whether hybrid flow is supported by this profile.
      Parameters:
      profileRequestContext - profile request context
      Returns:
      whether hybrid flow is supported by this profile
    • isRefreshTokensEnabled

      @ConfigurationSetting(name="refreshTokensEnabled") boolean isRefreshTokensEnabled(@Nullable ProfileRequestContext profileRequestContext)
      Get whether refresh tokens are supported by this profile.
      Parameters:
      profileRequestContext - profile request context
      Returns:
      whether refresh tokens are supported by this profile