Package com.yubico.webauthn
Class AssertionRequest
- java.lang.Object
- 
- com.yubico.webauthn.AssertionRequest
 
- 
 public final class AssertionRequest extends java.lang.ObjectA combination of aPublicKeyCredentialRequestOptionsand, optionally, ausername.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAssertionRequest.AssertionRequestBuilder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssertionRequest.AssertionRequestBuilder.MandatoryStagesbuilder()booleanequals(java.lang.Object o)@NonNull PublicKeyCredentialRequestOptionsgetPublicKeyCredentialRequestOptions()An object that can be serialized to JSON and passed as thepublicKeyargument tonavigator.credentials.get().java.util.Optional<java.lang.String>getUsername()The username of the user to authenticate, if the user has already been identified.inthashCode()AssertionRequest.AssertionRequestBuildertoBuilder()java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
getUsernamepublic java.util.Optional<java.lang.String> getUsername() 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. 
 - 
builderpublic static AssertionRequest.AssertionRequestBuilder.MandatoryStages builder() 
 - 
toBuilderpublic AssertionRequest.AssertionRequestBuilder toBuilder() 
 - 
getPublicKeyCredentialRequestOptions@NonNull public @NonNull PublicKeyCredentialRequestOptions getPublicKeyCredentialRequestOptions() An object that can be serialized to JSON and passed as thepublicKeyargument tonavigator.credentials.get().
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-