Class AuthenticationContextClassReferenceSupport


  • public final class AuthenticationContextClassReferenceSupport
    extends Object
    Support class for ACR operations.
    Since:
    2.2.0
    • Constructor Detail

      • AuthenticationContextClassReferenceSupport

        private AuthenticationContextClassReferenceSupport()
        Private constructor.
    • Method Detail

      • buildACRClaimsRequest

        public static final void buildACRClaimsRequest​(@Nonnull
                                                       OIDCAuthenticationRequest authnRequest)
        Build an ID Token requested claims request with any ACR values in the authentication request. Will add to any requested claims that already exist, or create a new requested claims if none already exist. If the 'acr' claim already exists, the new ACRs will be added to the existing set of values and the Claim Requirement for all will be set to ESSENTIAL.
        Parameters:
        authnRequest - the authentication request