Class

WebAuthenticationCredential


Description

This class contains the data needed for PassKey (WebAuthn) registration and authentication. You will need to store the properties in this class so that you can create a WebAuthenticationCredential object and return it during the authentication process.

Properties

Name

Type

Read-Only

Shared

AuthenticationAttempts

Integer

DisplayName

String

ID

String

PublicKey

String

Property descriptions


WebAuthenticationCredential.AuthenticationAttempts

AuthenticationAttempts As Integer

Some PassKey authenticators increase this value with each validation attempt. Should an authenticator provide this value, the Xojo Web framework will use it to ensure tha the authenticator has not been cloned.


WebAuthenticationCredential.DisplayName

DisplayName As String

The name that will be displayed when the PassKey is used to login to a web application.


WebAuthenticationCredential.ID

ID As String

A unique identifier generated by the authenticator during registration which is used during authentication.


WebAuthenticationCredential.PublicKey

PublicKey As String

The Base64-encoded public key used in validating the PassKey.

Compatibility

Project Types

Web

Operating Systems

All

See also

Object parent class; WebUserAuthentication class, PassKeys example project