Skip to main content

RelyingParty

Namespace: Wisej.Ext.WebAuthn

Assembly: Wisej.Ext.WebAuthn (4.1.0.0)

User account parameters for credential generation.

public class RelyingParty

See #dictionary-rp-credential-params.

Constructors​

Instance member RelyingParty(id, name)​

Creates a new instance of RelyingParty with the given configuration.

NameTypeDescription
idStringThe RP ID: the domain of the application (e.g. "example.com"). It must match the current origin or a registrable suffix of it.
nameStringThe 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​

Instance member ID​

String: The Relying Party identifier (RP ID), typically the domain of the application.

Instance member Name​

String: A human-palatable name for the entity.