Class Authenticator
Definition
- Assembly:
- Tizen.Security.WebAuthn.dll
Public web authentication API.
public static class Authenticator
- Inheritance
-
objectAuthenticator
Methods
View SourceCancel()
Stops the previous Make
Declaration
public static void Cancel()
Exceptions
Type | Condition |
---|---|
System. |
Thrown when the required feature is not supported. |
System. |
Thrown when the operation is invalid in current state. |
GetAssertion(ClientData, PubkeyCredRequestOptions, GetAssertionCallbacks)
Gets assertion from the authenticator.
Declaration
public static void GetAssertion(ClientData clientData, PubkeyCredRequestOptions options, GetAssertionCallbacks callbacks)
Parameters
Type | Name | Description |
---|---|---|
Client |
clientData | UTF-8 encoded JSON serialization of the client data. |
Pubkey |
options | Specifies the desired attributes of the public key credential to discover. |
Get |
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
Exceptions
Type | Condition |
---|---|
System. |
Thrown when the required feature is not supported. |
System. |
Thrown when a required privilege is missing. |
System. |
Thrown when an input parameter is invalid. |
System. |
Thrown when the operation is invalid in current state. |
System. |
Thrown when the call is canceled by a cancel request. |
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 |
---|---|---|
Client |
clientData | UTF-8 encoded JSON serialization of the client data. |
Pubkey |
options | Specifies the desired attributes of the to-be-created public key credential. |
Make |
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
Exceptions
Type | Condition |
---|---|
System. |
Thrown when the required feature is not supported. |
System. |
Thrown when a required privilege is missing. |
System. |
Thrown when an input parameter is invalid. |
System. |
Thrown when the operation is invalid in current state. |
System. |
Thrown when the call is canceled by a cancel request. |
SupportedAuthenticators()
Gets information on authenticator types that the client platform supports.
Declaration
public static AuthenticatorTransport SupportedAuthenticators()
Returns
Type | Description |
---|---|
Authenticator |
An enum with the collection of all supported authenticator types. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown when the required feature is not supported. |