public final class StartAssertionOptions
extends java.lang.Object
RelyingParty.startAssertion(StartAssertionOptions)
.Modifier and Type | Class and Description |
---|---|
static class |
StartAssertionOptions.StartAssertionOptionsBuilder |
Modifier and Type | Method and Description |
---|---|
static StartAssertionOptions.StartAssertionOptionsBuilder |
builder() |
boolean |
equals(java.lang.Object o) |
@NonNull AssertionExtensionInputs |
getExtensions()
Extension inputs for this authentication operation.
|
java.util.Optional<java.lang.Long> |
getTimeout()
The value for
PublicKeyCredentialRequestOptions.getTimeout() for this authentication operation. |
java.util.Optional<java.lang.String> |
getUsername()
The username of the user to authenticate, if the user has already been identified.
|
java.util.Optional<UserVerificationRequirement> |
getUserVerification()
The value for
PublicKeyCredentialRequestOptions.getUserVerification() for this authentication operation. |
int |
hashCode() |
StartAssertionOptions.StartAssertionOptionsBuilder |
toBuilder() |
java.lang.String |
toString() |
public java.util.Optional<java.lang.String> getUsername()
If this is absent, that implies a first-factor authentication operation - meaning identification of the user is deferred until after receiving the response from the client.
The default is empty (absent).
public java.util.Optional<UserVerificationRequirement> getUserVerification()
PublicKeyCredentialRequestOptions.getUserVerification()
for this authentication operation.
The default is UserVerificationRequirement.PREFERRED
.
public java.util.Optional<java.lang.Long> getTimeout()
PublicKeyCredentialRequestOptions.getTimeout()
for this authentication operation.
This library does not take the timeout into account in any way, other than passing it through to the PublicKeyCredentialRequestOptions
so it can be used as an argument to
navigator.credentials.get()
on the client side.
The default is empty.
public static StartAssertionOptions.StartAssertionOptionsBuilder builder()
public StartAssertionOptions.StartAssertionOptionsBuilder toBuilder()
@NonNull public @NonNull AssertionExtensionInputs getExtensions()
If RelyingParty.getAppId()
is set, RelyingParty.startAssertion(StartAssertionOptions)
will
overwrite any appId
extension input set herein.
The default specifies no extension inputs.
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