Namespace Tizen.Security.WebAuthn

Description

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.

This module is related with the following features:

Classes

AuthenticationExtension

Authenticator extension.

AuthenticationSelectionCriteria

Authenticator selection criteria.

Authenticator

Public web authentication API.

ClientData

Client data JSON.

HybridLinkedData

Linked device data.

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.