Package com.yubico.webauthn
Class AssertionRequest.AssertionRequestBuilder
- java.lang.Object
- 
- com.yubico.webauthn.AssertionRequest.AssertionRequestBuilder
 
- 
- Enclosing class:
- AssertionRequest
 
 public static class AssertionRequest.AssertionRequestBuilder extends java.lang.Object
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAssertionRequest.AssertionRequestBuilder.MandatoryStages
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AssertionRequestbuild()AssertionRequest.AssertionRequestBuilderpublicKeyCredentialRequestOptions(@NonNull PublicKeyCredentialRequestOptions publicKeyCredentialRequestOptions)An object that can be serialized to JSON and passed as thepublicKeyargument tonavigator.credentials.get().java.lang.StringtoString()AssertionRequest.AssertionRequestBuilderusername(@NonNull java.util.Optional<java.lang.String> username)The username of the user to authenticate, if the user has already been identified.AssertionRequest.AssertionRequestBuilderusername(java.lang.String username)The username of the user to authenticate, if the user has already been identified.
 
- 
- 
- 
Method Detail- 
usernamepublic AssertionRequest.AssertionRequestBuilder username(@NonNull @NonNull java.util.Optional<java.lang.String> username) The username of the user to authenticate, if the user has already been identified.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. 
 - 
usernamepublic AssertionRequest.AssertionRequestBuilder username(java.lang.String username) The username of the user to authenticate, if the user has already been identified.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. 
 - 
publicKeyCredentialRequestOptionspublic AssertionRequest.AssertionRequestBuilder publicKeyCredentialRequestOptions(@NonNull @NonNull PublicKeyCredentialRequestOptions publicKeyCredentialRequestOptions) An object that can be serialized to JSON and passed as thepublicKeyargument tonavigator.credentials.get().- Returns:
- this.
 
 - 
buildpublic AssertionRequest build() 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-