RelyingParty
Namespace: Wisej.Ext.WebAuthn
Assembly: Wisej.Ext.WebAuthn (4.1.0.0)
User account parameters for credential generation.
- C#
- VB.NET
public class RelyingParty
Public Class RelyingParty
See #dictionary-rp-credential-params.
Constructors
RelyingParty(id, name)
Creates a new instance of RelyingParty with the given configuration.
| Name | Type | Description |
|---|---|---|
| id | String | The RP ID: the domain of the application (e.g. "example.com"). It must match the current origin or a registrable suffix of it. |
| name | String | The human-palatable name of the Relying Party, shown to the user. |
Example:
var rp = new RelyingParty("example.com", "Example Inc.");
CredentialsResponse response = await WebAuthn.CreateAsync(
challenge, rp, user, parameters, selection, 60000, AttestationConveyancePreference.None);
Properties
ID
String: The Relying Party identifier (RP ID), typically the domain of the application.
Name
String: A human-palatable name for the entity.