Interface OIDCLogoutProfileConfiguration

All Superinterfaces:
Component, ConditionalProfileConfiguration, IdentifiedComponent, OAuth2ProfileConfiguration, OAuth2TokenEncryptionProfileConfiguration, OIDCProfileConfiguration, ProfileConfiguration
All Known Implementing Classes:
DefaultOIDCLogoutConfiguration

public interface OIDCLogoutProfileConfiguration extends OAuth2TokenEncryptionProfileConfiguration
Configuration for IdP OpenID Connect Logout.
Since:
3.1.0
  • Field Details

  • Method Details

    • isPreferFrontChannel

      @ConfigurationSetting(name="preferFrontChannel") boolean isPreferFrontChannel(@Nullable ProfileRequestContext profileRequestContext)
      Get whether to prefer front-channel if both are defined for the RP.
      Parameters:
      profileRequestContext - current profile request context
      Returns:
      true iff front-channel is to be preferred
    • isFrontChannelSuccess

      @ConfigurationSetting(name="frontChannelSuccess") boolean isFrontChannelSuccess(@Nullable ProfileRequestContext profileRequestContext)
      Get whether to consider front-channel logout propagation successful.
      Parameters:
      profileRequestContext - current profile request context
      Returns:
      true iff front-channel propagation considered as successful
    • isRevokeTokens

      @ConfigurationSetting(name="revokeTokens") boolean isRevokeTokens(@Nullable ProfileRequestContext profileRequestContext)
      Get whether to revoke the tokens related to the session to be logged out.
      Parameters:
      profileRequestContext - current profile request context
      Returns:
      true iff the tokens are to be revoked
    • isRequireIdTokenHint

      @ConfigurationSetting(name="requireIdTokenHint") boolean isRequireIdTokenHint(@Nullable ProfileRequestContext profileRequestContext)
      Get whether to require the use of id_token_hint in an OIDC RP-initiated logout sequence.
      Parameters:
      profileRequestContext - profile request context
      Returns:
      true iff the use of id_token_hint is required
    • getLogoutHintMatchingStrategy

      @ConfigurationSetting(name="logoutHintMatchingStrategy") @Nullable BiPredicate<String,SPSession> getLogoutHintMatchingStrategy(@Nullable ProfileRequestContext profileRequestContext)
      Get the bi-predicate for matching logout hint to an existing session in an OIDC RP-initiated logout sequence.
      Parameters:
      profileRequestContext - profile request context
      Returns:
      the bi-predicate for matching logout hint to an existing session.