Interface OAuth2ClientAuthenticableClientProfileConfiguration
- All Superinterfaces:
AuthenticationProfileConfiguration,Component,ConditionalProfileConfiguration,IdentifiedComponent,OAuth2ProfileConfiguration,ProfileConfiguration
- All Known Subinterfaces:
OIDCAuthenticationRelyingPartyProfileConfiguration,OIDCSSORelyingPartyConfiguration
- All Known Implementing Classes:
AbstractOAuth2ClientAuthenticableProfileConfiguration,AbstractOAuth2FlowAwareProfileConfiguration,AbstractOAuth2TokenValidatingConfiguration,AbstractOIDCSSOConfiguration,DefaultOAuth2TokenConfiguration,DefaultOAuth2TokenIntrospectionConfiguration,DefaultOAuth2TokenRevocationConfiguration,DefaultOIDCAuthorizationConfiguration,DefaultOIDCDynamicRegistrationConfiguration,DefaultOIDCUserInfoConfiguration
public interface OAuth2ClientAuthenticableClientProfileConfiguration
extends AuthenticationProfileConfiguration, OAuth2ProfileConfiguration
OAuth 2.0 profile configurations that support OAuth-defined client authentication methods.
This is specific to the role of the OAuth 2.0 client.
-
Method Summary
Modifier and TypeMethodDescriptiongetClientCredential(ProfileRequestContext profileRequestContext) Get the client credential for the given context.getClientId(ProfileRequestContext profileRequestContext) Get the client_id appropriate for the given context.getTokenEndpointAuthMethod(ProfileRequestContext profileRequestContext) Get the token endpoint authentication method to use with an OpenID Provider.Methods inherited from interface net.shibboleth.idp.authn.config.AuthenticationProfileConfiguration
getAuthenticationFlows, getDefaultAuthenticationMethods, getPostAuthenticationFlows, getProxyCount, isForceAuthn, isLocalMethods inherited from interface net.shibboleth.idp.profile.config.ConditionalProfileConfiguration
getActivationConditionMethods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.idp.profile.config.ProfileConfiguration
getInboundInterceptorFlows, getOutboundInterceptorFlows, getSecurityConfiguration
-
Method Details
-
getTokenEndpointAuthMethod
Get the token endpoint authentication method to use with an OpenID Provider.- Parameters:
profileRequestContext- the profile request context- Returns:
- the token endpoint authentication method to use.
- Since:
- 2.2.0
-
getClientCredential
@Nullable ClientSecretCredential getClientCredential(@Nullable ProfileRequestContext profileRequestContext) Get the client credential for the given context. Typically a client_secret associated with the current client_id.- Parameters:
profileRequestContext- the profile request context- Returns:
- the client credential
- Since:
- 2.2.0
-
getClientId
Get the client_id appropriate for the given context. Typically that associated with the chosen OpenID Connect Provider.- Parameters:
profileRequestContext- the profile request context- Returns:
- the client_id
- Since:
- 2.2.0
-