Class BowireUserProfile

Namespace
Kuestenlogik.Bowire.Auth
Assembly
Kuestenlogik.Bowire.dll

What the workbench can say about the person it is serving (#98).

public sealed class BowireUserProfile
Inheritance
BowireUserProfile
Inherited Members

Constructors

BowireUserProfile()

public BowireUserProfile()

Properties

DisplayName

A name to show. Falls back through the claims that carry one.

public string? DisplayName { get; init; }

Property Value

string

Email

Their e-mail address, when the token carries one.

public string? Email { get; init; }

Property Value

string

IsAdmin

Whether this identity administers the install.

public bool IsAdmin { get; init; }

Property Value

bool

Remarks

Always false without a directory that knows about roles. That is the safe direction: an install with no source of truth for who is an administrator has no administrators, rather than everybody.

Picture

An avatar URL, when the identity provider issues one.

public string? Picture { get; init; }

Property Value

string

Subject

The subject their storage slot is keyed on.

public required string Subject { get; init; }

Property Value

string