public class WebAuthnAuthenticationContextValidator
extends java.lang.Object
WebAuthnAuthenticationContext instance| Constructor and Description |
|---|
WebAuthnAuthenticationContextValidator() |
WebAuthnAuthenticationContextValidator(JsonConverter jsonConverter,
CborConverter cborConverter) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CustomAuthenticationValidator> |
getCustomAuthenticationValidators() |
MaliciousCounterValueHandler |
getMaliciousCounterValueHandler() |
void |
setMaliciousCounterValueHandler(MaliciousCounterValueHandler maliciousCounterValueHandler) |
WebAuthnAuthenticationContextValidationResponse |
validate(WebAuthnAuthenticationContext authenticationContext,
Authenticator authenticator)
validates WebAuthn authentication request
|
public WebAuthnAuthenticationContextValidator()
public WebAuthnAuthenticationContextValidator(JsonConverter jsonConverter, CborConverter cborConverter)
public WebAuthnAuthenticationContextValidationResponse validate(WebAuthnAuthenticationContext authenticationContext, Authenticator authenticator) throws com.webauthn4j.util.exception.WebAuthnException
authenticationContext - authentication contextauthenticator - authenticator to be checked againstDataConversionException - if the input cannot be parsedValidationException - if the input is not valid from the point of WebAuthn validation stepscom.webauthn4j.util.exception.WebAuthnException - if WebAuthn error occurredpublic MaliciousCounterValueHandler getMaliciousCounterValueHandler()
public void setMaliciousCounterValueHandler(MaliciousCounterValueHandler maliciousCounterValueHandler)
public java.util.List<CustomAuthenticationValidator> getCustomAuthenticationValidators()