Show / Hide Table of Contents

RelyingParty Constructor

RelyingParty(string)

Constructs a new instance of RelyingParty.

C#
public RelyingParty(string id)

Parameters

Type Name Description
string id

The relying party ID.

RelyingParty(ReadOnlyMemory<byte>)

Constructs a new instance of RelyingParty based on the encoded value.

C#
public RelyingParty(ReadOnlyMemory<byte> encodedRelyingParty)

Parameters

Type Name Description
ReadOnlyMemory<byte> encodedRelyingParty

The CBOR-encoded relying party info.

Exceptions

Type Condition
Ctap2DataException

The encodedRelyingParty is not a correct encoding.

Remarks

This constructor expects the encoding to follow this template.

map {
  "id"          --text string--
  "name"        --text string-- (optional)
}
In this article
Back to top Generated by DocFX