PublicKeyCredential
public final class PublicKeyCredential extends Credential
Represents the user's passkey credential granted by the user for app sign-in.
Summary
Public constructors |
|---|
PublicKeyCredential(@NonNull String authenticationResponseJson)Constructs a |
Public methods |
|
|---|---|
final @NonNull String |
the public key credential authentication response in JSON format that follows the standard webauthn json format shown at this w3c link |
Inherited methods |
||||
|---|---|---|---|---|
|
Constants
TYPE_PUBLIC_KEY_CREDENTIAL
public static final @NonNull String TYPE_PUBLIC_KEY_CREDENTIAL
The type value for public key credential related operations.
Public constructors
PublicKeyCredential
public PublicKeyCredential(@NonNull String authenticationResponseJson)
Constructs a PublicKeyCredential.
| Parameters | |
|---|---|
@NonNull String authenticationResponseJson |
the public key credential authentication response in JSON format that follows the standard webauthn json format shown at this w3c link |
| Throws | |
|---|---|
NullPointerException |
If |
IllegalArgumentException |
If |
Public methods
getAuthenticationResponseJson
public final @NonNull String getAuthenticationResponseJson()
the public key credential authentication response in JSON format that follows the standard webauthn json format shown at this w3c link