Class WebAuthn4JCredentials
java.lang.Object
io.vertx.ext.auth.webauthn4j.WebAuthn4JCredentials
- All Implemented Interfaces:
Credentials
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V> voidcheckValid(V arg) Implementors should override this method to perform validation.setChallenge(String challenge) setUsername(String username) setWebauthn(JsonObject webauthn) toJson()Simple interop to downcast back to JSON for backwards compatibility.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Credentials
applyHttpChallenge, applyHttpChallenge, applyHttpChallenge, toHttpAuthorization
-
Constructor Details
-
WebAuthn4JCredentials
public WebAuthn4JCredentials() -
WebAuthn4JCredentials
-
-
Method Details
-
getChallenge
-
setChallenge
-
getWebauthn
-
setWebauthn
-
getUsername
-
setUsername
-
getOrigin
-
setOrigin
-
getDomain
-
setDomain
-
checkValid
Description copied from interface:CredentialsImplementors should override this method to perform validation. An argument is allowed to allow custom validation, for example, when given a configuration property, a specific property may be allowed to be null.- Specified by:
checkValidin interfaceCredentials- Type Parameters:
V- the generic type of the argument- Parameters:
arg- optional argument or null.- Throws:
CredentialValidationException- when the validation fails
-
toJson
Description copied from interface:CredentialsSimple interop to downcast back to JSON for backwards compatibility.- Specified by:
toJsonin interfaceCredentials- Returns:
- JSON representation of this credential.
-