public final class AssertionRequest
extends java.lang.Object
PublicKeyCredentialRequestOptions
and, optionally, a username
.Modifier and Type | Class and Description |
---|---|
static class |
AssertionRequest.AssertionRequestBuilder |
Modifier and Type | Method and Description |
---|---|
static AssertionRequest.AssertionRequestBuilder.MandatoryStages |
builder() |
boolean |
equals(java.lang.Object o) |
@NonNull PublicKeyCredentialRequestOptions |
getPublicKeyCredentialRequestOptions()
An object that can be serialized to JSON and passed as the
publicKey argument to
navigator.credentials.get() . |
java.util.Optional<java.lang.String> |
getUsername()
The username of the user to authenticate, if the user has already been identified.
|
int |
hashCode() |
AssertionRequest.AssertionRequestBuilder |
toBuilder() |
java.lang.String |
toString() |
public java.util.Optional<java.lang.String> getUsername()
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.
public static AssertionRequest.AssertionRequestBuilder.MandatoryStages builder()
public AssertionRequest.AssertionRequestBuilder toBuilder()
@NonNull public @NonNull PublicKeyCredentialRequestOptions getPublicKeyCredentialRequestOptions()
publicKey
argument to
navigator.credentials.get()
.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object