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.
|
@NonNull java.util.Optional<java.lang.String> |
getUsername()
The username of the user to authenticate, if the user has already been identified.
|
@NonNull java.util.Optional<UserVerificationRequirement> |
getUserVerification()
The value for
PublicKeyCredentialRequestOptions.getUserVerification() for this authentication operation. |
int |
hashCode() |
StartAssertionOptions.StartAssertionOptionsBuilder |
toBuilder() |
java.lang.String |
toString() |
public static StartAssertionOptions.StartAssertionOptionsBuilder builder()
public StartAssertionOptions.StartAssertionOptionsBuilder toBuilder()
@NonNull public @NonNull 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).
@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.
@NonNull public @NonNull java.util.Optional<UserVerificationRequirement> getUserVerification()
PublicKeyCredentialRequestOptions.getUserVerification()
for this authentication operation.
The default is UserVerificationRequirement.PREFERRED
.
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