Class AssertionResult
RelyingParty.finishAssertion(FinishAssertionOptions).- 
Method SummaryModifier and TypeMethodDescriptionbooleanDeprecated.EXPERIMENTAL: This feature is from a not yet mature standard; it could change as the standard matures.The authenticator extension outputs, if any.The client extension outputs, if any.TheRegisteredCredentialthat was returned byCredentialRepository.lookup(ByteArray, ByteArray)and whose public key was used to successfully verify the assertion signature.Deprecated.UsegetCredential().getCredentialId()instead.longThe new signature count of the credential used for the assertion.Deprecated.UsegetCredential().getUserHandle()instead.@NonNull StringThe username of the authenticated user.inthashCode()booleanDeprecated.EXPERIMENTAL: This feature is from a not yet mature standard; it could change as the standard matures.booleanDeprecated.EXPERIMENTAL: This feature is from a not yet mature standard; it could change as the standard matures.booleantrueif and only if at least one of the following is true: Thesignature counter valuein the assertion was strictly greater thanthe stored one.booleantrueif the assertion was verified successfully.booleanCheck whether the user verification as performed during the authentication ceremony.toString()
- 
Method Details- 
getCredentialIdDeprecated.UsegetCredential().getCredentialId()instead.The credential ID of the credential used for the assertion.
- 
getUserHandleDeprecated.UsegetCredential().getUserHandle()instead.The user handle of the authenticated user.- See Also:
 
- 
isUserVerifiedpublic boolean isUserVerified()Check whether the user verification as performed during the authentication ceremony.This flag is also available via PublicKeyCredential.getResponse().getParsedAuthenticatorData().getFlags().UV- Returns:
- trueif and only if the authenticator claims to have performed user verification during the authentication ceremony.
- See Also:
 
- 
isBackupEligibleDeprecated.EXPERIMENTAL: This feature is from a not yet mature standard; it could change as the standard matures.Check whether the asserted credential is backup eligible, using the BE flag in the authenticator data.You SHOULD store this value in your representation of the corresponding RegisteredCredentialif no value is stored yet.CredentialRepositoryimplementations SHOULD set this value as thebackupEligible(Boolean)value when reconstructing thatRegisteredCredential.- Returns:
- trueif and only if the created credential is backup eligible. NOTE that this is only a hint and not a guarantee, unless backed by a trusted authenticator attestation.
- See Also:
 
- 
isBackedUpDeprecated.EXPERIMENTAL: This feature is from a not yet mature standard; it could change as the standard matures.Get the current backup state of the asserted credential, using the BS flag in the authenticator data.You SHOULD update this value in your representation of a RegisteredCredential.CredentialRepositoryimplementations SHOULD set this value as thebackupState(Boolean)value when reconstructing thatRegisteredCredential.- Returns:
- trueif and only if the created credential is believed to currently be backed up. NOTE that this is only a hint and not a guarantee, unless backed by a trusted authenticator attestation.
- See Also:
 
- 
getAuthenticatorAttachmentDeprecated.EXPERIMENTAL: This feature is from a not yet mature standard; it could change as the standard matures.The authenticator attachment modality in effect at the time the asserted credential was used.
- 
getSignatureCountpublic long getSignatureCount()The new signature count of the credential used for the assertion.You should update this value in your database. - See Also:
 
- 
getClientExtensionOutputsThe client extension outputs, if any.This is present if and only if at least one extension output is present in the return value. 
- 
getAuthenticatorExtensionOutputsThe authenticator extension outputs, if any.This is present if and only if at least one extension output is present in the return value. 
- 
isSuccesspublic boolean isSuccess()trueif the assertion was verified successfully.
- 
getCredentialTheRegisteredCredentialthat was returned byCredentialRepository.lookup(ByteArray, ByteArray)and whose public key was used to successfully verify the assertion signature.NOTE: The signature count,backup eligibilityandbackup stateproperties in this object will reflect the state before the assertion operation, not the new state. When updating your database state, use the signature counter and backup state fromgetSignatureCount(),isBackupEligible()andisBackedUp()instead.
- 
getUsernameThe username of the authenticated user.- See Also:
 
- 
isSignatureCounterValidpublic boolean isSignatureCounterValid()trueif and only if at least one of the following is true:- The signature counter valuein the assertion was strictly greater thanthe stored one.
- The signature counter valuein the assertion andthe stored onewere both zero.
 
- The 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-