public class WebAuthn extends AuthenticationProvider
AuthenticationProvider
instances.
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<WebAuthn> |
__TYPE_ARG |
Constructor and Description |
---|
WebAuthn(Object delegate) |
WebAuthn(io.vertx.ext.auth.webauthn.WebAuthn delegate) |
Modifier and Type | Method and Description |
---|---|
static WebAuthn |
create(Vertx vertx,
CredentialStore store)
Create a WebAuthN auth provider
|
static WebAuthn |
create(Vertx vertx,
io.vertx.ext.auth.webauthn.WebAuthnOptions options,
CredentialStore store)
Create a WebAuthN auth provider
|
WebAuthn |
createCredentialsOptions(io.vertx.core.json.JsonObject user)
Generates makeCredentials request
|
WebAuthn |
createCredentialsOptions(io.vertx.core.json.JsonObject user,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
Generates makeCredentials request
|
boolean |
equals(Object o) |
WebAuthn |
getCredentialsOptions(String username)
Generates getAssertion request.
|
WebAuthn |
getCredentialsOptions(String username,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
Generates getAssertion request.
|
io.vertx.ext.auth.webauthn.WebAuthn |
getDelegate() |
int |
hashCode() |
static WebAuthn |
newInstance(io.vertx.ext.auth.webauthn.WebAuthn arg) |
rx.Single<io.vertx.core.json.JsonObject> |
rxCreateCredentialsOptions(io.vertx.core.json.JsonObject user)
Generates makeCredentials request
|
rx.Single<io.vertx.core.json.JsonObject> |
rxGetCredentialsOptions(String username)
Generates getAssertion request.
|
String |
toString() |
authenticate, authenticate, authenticate, authenticate, newInstance, rxAuthenticate, rxAuthenticate
public WebAuthn(io.vertx.ext.auth.webauthn.WebAuthn delegate)
public WebAuthn(Object delegate)
public String toString()
toString
in class AuthenticationProvider
public boolean equals(Object o)
equals
in class AuthenticationProvider
public int hashCode()
hashCode
in class AuthenticationProvider
public io.vertx.ext.auth.webauthn.WebAuthn getDelegate()
getDelegate
in class AuthenticationProvider
public static WebAuthn create(Vertx vertx, CredentialStore store)
vertx
- the Vertx instance.store
- the user store used to load credentials.public static WebAuthn create(Vertx vertx, io.vertx.ext.auth.webauthn.WebAuthnOptions options, CredentialStore store)
vertx
- the Vertx instance.options
- the custom options to the provider.store
- the user store used to load credentials.public WebAuthn createCredentialsOptions(io.vertx.core.json.JsonObject user, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
user
- - the user object with username, displayNamehandler
- server encoded make credentials requestpublic WebAuthn createCredentialsOptions(io.vertx.core.json.JsonObject user)
user
- - the user object with username, displayNamepublic rx.Single<io.vertx.core.json.JsonObject> rxCreateCredentialsOptions(io.vertx.core.json.JsonObject user)
user
- - the user object with username, displayNamepublic WebAuthn getCredentialsOptions(String username, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>> handler)
RequireResidentKey
and
the username is null then the generated assertion will be a RK assertion (Usernameless).username
- the unique user identifiedhandler
- server encoded get assertion requestpublic WebAuthn getCredentialsOptions(String username)
RequireResidentKey
and
the username is null then the generated assertion will be a RK assertion (Usernameless).username
- the unique user identifiedpublic rx.Single<io.vertx.core.json.JsonObject> rxGetCredentialsOptions(String username)
RequireResidentKey
and
the username is null then the generated assertion will be a RK assertion (Usernameless).username
- the unique user identifiedpublic static WebAuthn newInstance(io.vertx.ext.auth.webauthn.WebAuthn arg)
Copyright © 2020 Eclipse. All rights reserved.