Class MetaDataService
- All Implemented Interfaces:
MutinyDelegate
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMetaDataService
(io.vertx.ext.auth.webauthn.MetaDataService delegate) MetaDataService
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionaddStatement
(io.vertx.core.json.JsonObject statement) boolean
io.smallrye.mutiny.Uni<Boolean>
fetchTOC()
Fetches the FIDO2 MDS3 TOC and process the entries to the metadata store.io.smallrye.mutiny.Uni<Boolean>
Fetches the FIDO2 TOC for the given URL and process the entries to the metadata store.Blocking variant offetchTOC(java.lang.String)
.fetchTOCAndAwait
(String url) Blocking variant offetchTOC(String)
.Variant offetchTOC(java.lang.String)
that ignores the result of the operation.fetchTOCAndForget
(String url) Variant offetchTOC(String)
that ignores the result of the operation.flush()
io.vertx.ext.auth.webauthn.MetaDataService
int
hashCode()
static MetaDataService
newInstance
(io.vertx.ext.auth.webauthn.MetaDataService arg) toString()
io.vertx.core.json.JsonObject
verify
(io.vertx.ext.auth.webauthn.Authenticator authenticator)
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
MetaDataService
public MetaDataService(io.vertx.ext.auth.webauthn.MetaDataService delegate) -
MetaDataService
-
-
Method Details
-
getDelegate
public io.vertx.ext.auth.webauthn.MetaDataService getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
fetchTOC
Fetches the FIDO2 TOC for the given URL and process the entries to the metadata store. Only valid entries will be stored. The operation will returntrue
only if all entries have been added.false
if they have been processed but at least one was invalid. The operation will only fail on network problems.Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Parameters:
url
- the url to the TOC- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
fetchTOCAndAwait
Blocking variant offetchTOC(String)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Parameters:
url
- the url to the TOC- Returns:
- the Boolean instance produced by the operation.
-
fetchTOCAndForget
Variant offetchTOC(String)
that ignores the result of the operation.This method subscribes on the result of
fetchTOC(String)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromfetchTOC(String)
but you don't need to compose it with other operations.- Parameters:
url
- the url to the TOC- Returns:
- the instance of MetaDataService to chain method calls.
-
fetchTOC
Fetches the FIDO2 MDS3 TOC and process the entries to the metadata store. Only valid entries will be stored. The operation will returntrue
only if all entries have been added.false
if they have been processed but at least one was invalid. The operation will only fail on network problems.Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
fetchTOCAndAwait
Blocking variant offetchTOC(java.lang.String)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Returns:
- the Boolean instance produced by the operation.
-
fetchTOCAndForget
Variant offetchTOC(java.lang.String)
that ignores the result of the operation.This method subscribes on the result of
fetchTOC(java.lang.String)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromfetchTOC(java.lang.String)
but you don't need to compose it with other operations.- Returns:
- the instance of MetaDataService to chain method calls.
-
addStatement
- Parameters:
statement
- the json statement- Returns:
- fluent self
-
flush
- Returns:
- fluent self
-
verify
public io.vertx.core.json.JsonObject verify(io.vertx.ext.auth.webauthn.Authenticator authenticator) - Parameters:
authenticator
- authenticator to verify- Returns:
- an MDS statement for this authenticator or
null
.
-
newInstance
-