Class WebAuthnFlowModeAuditExtractor
java.lang.Object
net.shibboleth.idp.plugin.authn.webauthn.audit.AbstractWebAuthnAuditExtractor<String>
net.shibboleth.idp.plugin.authn.webauthn.audit.impl.WebAuthnFlowModeAuditExtractor
- All Implemented Interfaces:
Function<ProfileRequestContext,String>
Function that returns which mode of flow was run e.g. 'passwordless', 'usernameless', or 'second-factor'.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdoLookup(BaseWebAuthnContext context) Implemented to perform the actual lookup.Methods inherited from class net.shibboleth.idp.plugin.authn.webauthn.audit.AbstractWebAuthnAuditExtractor
apply
-
Constructor Details
-
WebAuthnFlowModeAuditExtractor
protected WebAuthnFlowModeAuditExtractor(@Nonnull Function<ProfileRequestContext, BaseWebAuthnContext> strategy) Constructor.- Parameters:
strategy- theBaseWebAuthnContextlookup strategy to use.
-
-
Method Details
-
doLookup
Implemented to perform the actual lookup.- Specified by:
doLookupin classAbstractWebAuthnAuditExtractor<String>- Parameters:
context- the base WebAuthn context- Returns:
- lookup value or
nullif not found
-