Interface AuthnRequestGeneratorContext.RequestedAuthnContextBuilderFunction

All Superinterfaces:
BiFunction<List<String>,Boolean,org.opensaml.saml.saml2.core.RequestedAuthnContext>
Enclosing interface:
AuthnRequestGeneratorContext

public static interface AuthnRequestGeneratorContext.RequestedAuthnContextBuilderFunction extends BiFunction<List<String>,Boolean,org.opensaml.saml.saml2.core.RequestedAuthnContext>
The generator will need to know how to build the RequestedAuthnContext element that is to be included in the AuthnRequest. The AuthnRequestGeneratorContext.getRequestedAuthnContextBuilderFunction() method returns the function, that given a list of IdP assurance certification URI:s and a boolean that tells whether the Holder-of-key profile is active or not (could affect which URI that is chosen), creates a RequestedAuthnContext element.

If the function returns null no RequestedAuthnContext is added to the AuthnRequest.