Supporter

The signed-in supporter.

On this page

The signed-in supporter.

namespace Sponsorkit;

public sealed class Supporter

Constructors#

MemberDescription
Supporter()Creates an instance with every property at its default; set the properties with an object initializer.

Supporter()#

public Supporter()

Creates an instance with every property at its default; set the properties with an object initializer.

Properties#

MemberDescription
IdPairwise id (sup_…): stable for the same person and target set, so a backend can key users on it.
IdentitiesThe supporter's identities, in sign-in order.

Id#

public string Id { get; set; } = "";

Pairwise id (sup_…): stable for the same person and target set, so a backend can key users on it.

Type: string · Default: "" · JSON: id

Identities#

public IReadOnlyList<Identity> Identities { get; set; } = Array.Empty<Identity>();

The supporter's identities, in sign-in order.

Type: IReadOnlyList<Identity> (Identity) · Default: Array.Empty<Identity>() · JSON: identities