public final class AssertionResult
extends java.lang.Object
RelyingParty.finishAssertion(FinishAssertionOptions)
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
@NonNull ByteArray |
getCredentialId()
The credential ID of the credential
used for the assertion.
|
long |
getSignatureCount()
The new signature count of the
credential used for the assertion.
|
@NonNull ByteArray |
getUserHandle()
The user handle of the authenticated
user.
|
@NonNull java.lang.String |
getUsername()
The username of the authenticated user.
|
@NonNull java.util.List<java.lang.String> |
getWarnings()
Zero or more human-readable messages about non-critical issues.
|
int |
hashCode() |
boolean |
isSignatureCounterValid()
true if and only if the signature counter value
in the assertion was strictly greater than the stored one . |
boolean |
isSuccess()
true if the assertion was verified successfully. |
com.yubico.webauthn.AssertionResult.AssertionResultBuilder |
toBuilder() |
java.lang.String |
toString() |
public com.yubico.webauthn.AssertionResult.AssertionResultBuilder toBuilder()
public boolean isSuccess()
true
if the assertion was verified successfully.@NonNull public @NonNull ByteArray getCredentialId()
@NonNull public @NonNull ByteArray getUserHandle()
UserIdentity.getId()
,
getUsername()
@NonNull public @NonNull java.lang.String getUsername()
getUserHandle()
public long getSignatureCount()
You should update this value in your database.
AuthenticatorData.getSignatureCounter()
public boolean isSignatureCounterValid()
true
if and only if the signature counter value
in the assertion was strictly greater than the stored one
.@NonNull public @NonNull java.util.List<java.lang.String> getWarnings()
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