Method FromJson
FromJson(string)
Creates a credential from its WebAuthn JSON (the PublicKeyCredential.toJSON() form), with the attachment that its
authenticatorAttachment property reports, or Unknown if it reports none or the JSON can't be read. The JSON
is not validated; the service validates the credential.
Declaration
public static PasskeyCredential FromJson(string json)
Parameters
| Type | Name | Description |
|---|---|---|
| string | json | The credential as WebAuthn JSON. |
Returns
| Type | Description |
|---|---|
| PasskeyCredential |