Package com.yubico.webauthn
Class AssertionRequest.AssertionRequestBuilder
java.lang.Object
com.yubico.webauthn.AssertionRequest.AssertionRequestBuilder
- Enclosing class:
- AssertionRequest
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
publicKeyCredentialRequestOptions
(@NonNull PublicKeyCredentialRequestOptions publicKeyCredentialRequestOptions) An object that can be serialized to JSON and passed as thepublicKey
argument tonavigator.credentials.get()
.toString()
The username of the user to authenticate, if the user has already been identified.The username of the user to authenticate, if the user has already been identified.
-
Method Details
-
username
public AssertionRequest.AssertionRequestBuilder username(@NonNull @NonNull Optional<String> username) The username of the user to authenticate, if the user has already been identified.If this is absent, this indicates that this is a request for an assertion by a client-side-resident credential, and identification of the user has been deferred until the response is received.
-
username
The username of the user to authenticate, if the user has already been identified.If this is absent, this indicates that this is a request for an assertion by a client-side-resident credential, and identification of the user has been deferred until the response is received.
-
publicKeyCredentialRequestOptions
public AssertionRequest.AssertionRequestBuilder publicKeyCredentialRequestOptions(@NonNull @NonNull PublicKeyCredentialRequestOptions publicKeyCredentialRequestOptions) An object that can be serialized to JSON and passed as thepublicKey
argument tonavigator.credentials.get()
.- Returns:
this
.
-
build
-
toString
-