Namespace Tizen.Security.WebAuthn
The Web Authentication module provides a C# API enabling the creation and use of strong, attested, scoped, public key-based credentials by web applications, for the purpose of strongly authenticating users
Overview
It provides an Authenticator class containing methods for creating public key-based credentials (Authenticator.MakeCredential()) and using them (Authenticator.GetAssertion()). Both these operations are performed asynchronously. Callbacks passed as arguments are used to notify about the progress or when user's interaction is necessary. Due to significant amount of time required to complete both requests, cancelation is also possible with the help of Authenticator.Cancel(). The module also provides a variety of data types based on W3C Web Authentication API (https://www.w3.org/TR/webauthn-3/) used to control the credential creation and assertion process.
Related features
This module is related with the following features:
Classes
AuthenticationExtension
Authenticator extension.
AuthenticationSelectionCriteria
Authenticator selection criteria.
Authenticator
Public web authentication API.
AuthenticatorAssertionResponse
The authenticator's response of GetAssertion(ClientData, PubkeyCredRequestOptions, GetAssertionCallbacks).
AuthenticatorAttestationResponse
The response of MakeCredential(ClientData, PubkeyCredCreationOptions, MakeCredentialCallbacks).
ClientData
Client data JSON.
GetAssertionCallbacks
Callback function list used to get assertion with GetAssertion(ClientData, PubkeyCredRequestOptions, GetAssertionCallbacks).
HybridLinkedData
Linked device data.
MakeCredentialCallbacks
Callback function list used to make credential with MakeCredential(ClientData, PubkeyCredCreationOptions, MakeCredentialCallbacks).
PubkeyCredAssertion
Public key credential response for GetAssertion(ClientData, PubkeyCredRequestOptions, GetAssertionCallbacks).
PubkeyCredAttestation
Public key credential response for MakeCredential(ClientData, PubkeyCredCreationOptions, MakeCredentialCallbacks).
PubkeyCredCreationOptions
Make credential options.
PubkeyCredDescriptor
Public key credential descriptor.
PubkeyCredParam
Parameter for credential generation.
PubkeyCredRequestOptions
Get assertion options.
RelyingPartyEntity
Relying Party entity.
UserEntity
User entity.
Enums
AttestationPref
WebAuthn attestation preference.
AuthenticatorAttachment
WebAuthn authentication attachment value.
AuthenticatorTransport
WebAuthn authenticator transports.
CoseAlgorithm
WebAuthn COSE (CBOR Object Signing and Encryption) algorithms.
HashAlgorithm
WebAuthn hash algorithms. Currently one hash algorithm is used, namely "SHA-256".
PubkeyCredHint
WebAuthn public key credential hint value.
PubkeyCredType
WebAuthn credential type. Currently one credential type is defined, namely "public-key".
ResidentKeyRequirement
WebAuthn resident key requirement value.
UserVerificationRequirement
WebAuthn user verification requirement value.
WauthnError
WebAuthn error code.