Interface OIDCIDTokenProducingProfileConfiguration
- All Superinterfaces:
Component,ConditionalProfileConfiguration,IdentifiedComponent,OAuth2ProfileConfiguration,OIDCProfileConfiguration,ProfileConfiguration
- All Known Subinterfaces:
OAuth2TokenConfiguration,OIDCAuthorizationConfiguration,OIDCSSOProviderConfiguration
- All Known Implementing Classes:
AbstractOIDCSSOConfiguration,DefaultOAuth2PushedAuthorizationRequestConfiguration,DefaultOAuth2TokenConfiguration,DefaultOIDCAuthorizationConfiguration
Configuration common to ID Token producing profiles.
-
Field Summary
Fields inherited from interface net.shibboleth.profile.config.ProfileConfiguration
DEFAULT_DISALLOWED_FEATURES -
Method Summary
Modifier and TypeMethodDescriptiongetAdditionalAudiencesForIdToken(ProfileRequestContext profileRequestContext) Get the set of audiences, in addition to the relying party(ies) to which the IdP is issuing the ID Token, with which the token may be shared.getAlwaysIncludedAttributes(ProfileRequestContext profileRequestContext) Get the set of attribute IDs which should be included in the ID token regardless of response_type.getIDTokenLifetime(ProfileRequestContext profileRequestContext) Get ID token lifetime.getIDTokenManipulationStrategy(ProfileRequestContext profileRequestContext) Get the bi-function for manipulating id_token claims.Methods inherited from interface net.shibboleth.profile.config.ConditionalProfileConfiguration
getActivationConditionMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.profile.config.ProfileConfiguration
getDisallowedFeatures, getSecurityConfiguration, isFeatureDisallowed
-
Method Details
-
getIDTokenLifetime
@ConfigurationSetting(name="iDTokenLifetime") @Positive @Nonnull Duration getIDTokenLifetime(@Nullable ProfileRequestContext profileRequestContext) Get ID token lifetime.Defaults to 1 hour.
- Parameters:
profileRequestContext- profile request context- Returns:
- ID token lifetime
-
getIDTokenManipulationStrategy
@ConfigurationSetting(name="iDTokenManipulationStrategy") @Nullable BiFunction<ProfileRequestContext,Map<String, getIDTokenManipulationStrategyObject>, Map<String, Object>> (@Nullable ProfileRequestContext profileRequestContext) Get the bi-function for manipulating id_token claims.- Parameters:
profileRequestContext- profile request context- Returns:
- the bi-function for manipulating id_token claims
- Since:
- 2.1.0
-
getAlwaysIncludedAttributes
@ConfigurationSetting(name="alwaysIncludedAttributes") @Nonnull @NonnullElements @NotLive Set<String> getAlwaysIncludedAttributes(@Nullable ProfileRequestContext profileRequestContext) Get the set of attribute IDs which should be included in the ID token regardless of response_type.Default behavior is to include claims only with the implicit id_token type only, while any use of a back-channel relies on the user_info endpoint to get the claims. This setting forces certain attributes to be added to the ID token regardless of flow.
- Parameters:
profileRequestContext- profile request context- Returns:
- the attribute IDs to include in all cases
-
getAdditionalAudiencesForIdToken
@ConfigurationSetting(name="additionalAudiencesForIdToken") @Nonnull @NonnullElements @NotLive Set<String> getAdditionalAudiencesForIdToken(@Nullable ProfileRequestContext profileRequestContext) Get the set of audiences, in addition to the relying party(ies) to which the IdP is issuing the ID Token, with which the token may be shared.- Parameters:
profileRequestContext- profile request context- Returns:
- the additional audiences
-