Class PublicFederationProviderDescriptor

Assembly: redb.Identity.Contracts.dll

Public projection of a federation provider safe for unauthenticated callers (login
pages, third-party UIs). Carries only the fields needed to render a sign-in button —
never ClientSecret, Authority, ClaimMappings, or any other
secret/configuration detail.

public sealed record PublicFederationProviderDescriptor : IEquatable<PublicFederationProviderDescriptor>

Inheritance

Object→PublicFederationProviderDescriptor

Implements

Properties

DisplayName

Human-readable label, e.g. "Google".

public string DisplayName { get; init; }

Kind

Provider kind: oidc or github. Allows callers to pick brand-specific icons.

public string Kind { get; init; }

Priority

Display order. Lower = shown first.

public int Priority { get; init; }

ProviderId

Stable identifier echoed back to /connect/external-login?provider=.

public string ProviderId { get; init; }

Constructors

PublicFederationProviderDescriptor(string, string, string, int)

Public projection of a federation provider safe for unauthenticated callers (login