Class Authenticator
Definition
- Assembly:
- Tizen.Security.WebAuthn.dll
Public web authentication API.
public static class Authenticator
- Inheritance
-
objectAuthenticator
Methods
View SourceCancel()
Stops the previous MakeCredential(ClientData, PubkeyCredCreationOptions, MakeCredentialCallbacks) or GetAssertion(ClientData, PubkeyCredRequestOptions, GetAssertionCallbacks) call.
Declaration
public static void Cancel()
GetAssertion(ClientData, PubkeyCredRequestOptions, GetAssertionCallbacks)
Gets assertion from the authenticator.
Declaration
public static void GetAssertion(ClientData clientData, PubkeyCredRequestOptions options, GetAssertionCallbacks callbacks)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientData | clientData | UTF-8 encoded JSON serialization of the client data. |
| PubkeyCredRequestOptions | options | Specifies the desired attributes of the public key credential to discover. |
| GetAssertionCallbacks | callbacks | The callback functions to be invoked. |
Remarks
Refer to the following W3C specification for more information. https://www.w3.org/TR/webauthn-3/#sctn-getAssertion
MakeCredential(ClientData, PubkeyCredCreationOptions, MakeCredentialCallbacks)
Makes a new web authentication credential and stores it to authenticator.
Declaration
public static void MakeCredential(ClientData clientData, PubkeyCredCreationOptions options, MakeCredentialCallbacks callbacks)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientData | clientData | UTF-8 encoded JSON serialization of the client data. |
| PubkeyCredCreationOptions | options | Specifies the desired attributes of the to-be-created public key credential. |
| MakeCredentialCallbacks | callbacks | The callback functions to be invoked. |
Remarks
Refer to the following W3C specification for more information. https://www.w3.org/TR/webauthn-3/#sctn-createCredential
SupportedAuthenticators()
Gets information on authenticator types that the client platform supports.
Declaration
public static AuthenticatorTransport SupportedAuthenticators()
Returns
| Type | Description |
|---|---|
| AuthenticatorTransport | An enum with the collection of all supported authenticator types. |