WebAuthn
Wisej.Ext.WebAuthn.WebAuthn
Namespace: Wisej.Ext.WebAuthn
Assembly: Wisej.Ext.WebAuthn (3.2.0.0)
Provides methods for creating and retrieving credentials from the client following the Web Authorization API standards.
public class WebAuthn
Methods
CreateAsync(challenge, rp, user, publicKeyCredentialParameters, authenticatorSelection, timeout, attestation)

Creates new credentials for the client.
rp
Relaying Party (rp), the organization responsible for registering and authenticating the user.
publicKeyCredentialParameters
Array describing what public key types are acceptable to the server.
authenticatorSelection
"platform" (Windows Hello) vs "cross-platform" (Yubikey) required.
attestation
allows servers to indicate how important the attestation data is to this registration event.
Returns: Task<CredentialsResponse>. The client's credentials.
GetAsync(challenge, allowCredentials, timeout)

Gets the requested credentials from the client.
allowCredentials
Which credential the server would like the user to authenticate with.
Returns: Task<CredentialsResponse>.
IsUserVerifyingPlatformAuthenticatorAvailableAsync()

Checks whether the client device has a user-verifying platform authenticator available for use.
Returns: Task<Boolean>. True if the device has a user-verifying platform authenticator.
Validate(publicKey, authenticatorDataBase64, clientDataBase64, signature)

Validates the given attestation against the provided public key.
Returns: Boolean. The success of the validation.
Throws:
Last updated
Was this helpful?