Interface OIDCAuthorizationConfiguration

    • Method Detail

      • isAcrRequestAlwaysEssential

        boolean isAcrRequestAlwaysEssential​(@Nullable
                                            ProfileRequestContext profileRequestContext)
        Get whether all acr claim requests should be treated as Essential.
        Parameters:
        profileRequestContext - profile request context
        Returns:
        whether all acr claim requests should be treated as Essential
      • isEncodeConsentInTokens

        boolean isEncodeConsentInTokens​(@Nullable
                                        ProfileRequestContext profileRequestContext)
        Get whether to encode consent in authorization code and access/refresh tokens.
        Parameters:
        profileRequestContext - profile request context
        Returns:
        whether to encode consent in authorization code and access/refresh tokens
      • getDeniedUserInfoAttributes

        @Nonnull
        @NonnullElements
        @NotLive
        Set<String> getDeniedUserInfoAttributes​(@Nullable
                                                ProfileRequestContext profileRequestContext)
        Get the set of attribute IDs which should be omitted from the UserInfo token.

        Default behavior is to include all claims, but omiited claims also affect the set that may need to be embedded for recovery into the access/refresh tokens.

        Parameters:
        profileRequestContext - profile request context
        Returns:
        the attribute IDs to omit from UserInfo token
      • isIncludeIssuerInResponse

        boolean isIncludeIssuerInResponse​(@Nullable
                                          ProfileRequestContext profileRequestContext)
        Get whether to include iss parameter in the authentication response.
        Parameters:
        profileRequestContext - profile request context
        Returns:
        whether to include iss parameter in the authentication response
        Since:
        2.1.0
      • getEncodedAttributes

        @Nonnull
        @NonnullElements
        @NotLive
        Set<String> getEncodedAttributes​(@Nullable
                                         ProfileRequestContext profileRequestContext)
        Get the set of attribute IDs which should be encoded in encrypted form into the authorization code and/or access/refresh tokens to enable recovery on the back-channel.
        Parameters:
        profileRequestContext - profile request context
        Returns:
        the attribute IDs to encode