public static class StartAssertionOptions.StartAssertionOptionsBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
StartAssertionOptions |
build() |
StartAssertionOptions.StartAssertionOptionsBuilder |
extensions(@NonNull AssertionExtensionInputs extensions)
Extension inputs for this authentication operation.
|
java.lang.String |
toString() |
StartAssertionOptions.StartAssertionOptionsBuilder |
username(@NonNull java.util.Optional<java.lang.String> username)
The username of the user to authenticate, if the user has already been identified.
|
StartAssertionOptions.StartAssertionOptionsBuilder |
username(@NonNull java.lang.String username)
The username of the user to authenticate, if the user has already been identified.
|
StartAssertionOptions.StartAssertionOptionsBuilder |
userVerification(@NonNull java.util.Optional<UserVerificationRequirement> userVerification)
The value for
PublicKeyCredentialRequestOptions.getUserVerification() for this authentication operation. |
StartAssertionOptions.StartAssertionOptionsBuilder |
userVerification(@NonNull UserVerificationRequirement userVerification)
The value for
PublicKeyCredentialRequestOptions.getUserVerification() for this authentication operation. |
public StartAssertionOptions.StartAssertionOptionsBuilder username(@NonNull @NonNull java.util.Optional<java.lang.String> username)
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 StartAssertionOptions.StartAssertionOptionsBuilder username(@NonNull @NonNull java.lang.String username)
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 StartAssertionOptions.StartAssertionOptionsBuilder userVerification(@NonNull @NonNull java.util.Optional<UserVerificationRequirement> userVerification)
PublicKeyCredentialRequestOptions.getUserVerification()
for this authentication operation.
The default is UserVerificationRequirement.PREFERRED
.
public StartAssertionOptions.StartAssertionOptionsBuilder userVerification(@NonNull @NonNull UserVerificationRequirement userVerification)
PublicKeyCredentialRequestOptions.getUserVerification()
for this authentication operation.
The default is UserVerificationRequirement.PREFERRED
.
public StartAssertionOptions.StartAssertionOptionsBuilder extensions(@NonNull @NonNull AssertionExtensionInputs extensions)
If RelyingParty.getAppId()
is set, RelyingParty.startAssertion(StartAssertionOptions)
will
overwrite any appId
extension input set herein.
The default specifies no extension inputs.
public StartAssertionOptions build()
public java.lang.String toString()
toString
in class java.lang.Object