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