Package com.yubico.yubikit.fido.client
Class AuthInvalidClientError
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.yubico.yubikit.fido.client.ClientError
com.yubico.yubikit.fido.client.AuthInvalidClientError
- All Implemented Interfaces:
Serializable
A subclass of
ClientError used by Ctap2Client to indicate that makeCredential or
getAssertion was called with invalid authentication (PIN or UV).- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.yubico.yubikit.fido.client.ClientError
ClientError.Code -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int -
Constructor Summary
ConstructorsConstructorDescriptionAuthInvalidClientError(com.yubico.yubikit.core.fido.CtapException cause, AuthInvalidClientError.AuthType authType, int retries) -
Method Summary
Methods inherited from class com.yubico.yubikit.fido.client.ClientError
getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
authType
-
retries
public final int retries
-
-
Constructor Details
-
AuthInvalidClientError
public AuthInvalidClientError(com.yubico.yubikit.core.fido.CtapException cause, AuthInvalidClientError.AuthType authType, int retries) - Parameters:
authType- type of authentication (PIN or UV)retries- number of retries left before the authenticator is blocked, or -1 if the retry count could not be determined
-