Class IdentityProviderName
- Namespace
- Fdyay.IdentityServer.Models
- Assembly
- Fdyay.IdentityServer.Core.dll
A provider as the sign-in page needs it: enough to list it, not enough to use it.
public sealed record IdentityProviderName : IEquatable<IdentityProviderName>
- Inheritance
-
IdentityProviderName
- Implements
- Inherited Members
Remarks
A separate shape because enumerating providers happens on every render of the login page and reading each one's full settings to decide whether to draw a button would make a page render cost a row read per partner — and the settings include client secrets, which have no business on that path at all.
Constructors
IdentityProviderName(string, string?, bool)
A provider as the sign-in page needs it: enough to list it, not enough to use it.
public IdentityProviderName(string Scheme, string? DisplayName, bool Enabled)
Parameters
Remarks
A separate shape because enumerating providers happens on every render of the login page and reading each one's full settings to decide whether to draw a button would make a page render cost a row read per partner — and the settings include client secrets, which have no business on that path at all.
Properties
DisplayName
public string? DisplayName { get; init; }
Property Value
Enabled
public bool Enabled { get; init; }
Property Value
Scheme
public string Scheme { get; init; }