Class GatewayIdentity
Represents an authenticated identity (API key, OAuth token, etc.).
public record GatewayIdentity : IEquatable<GatewayIdentity>
- Inheritance
-
GatewayIdentity
- Implements
- Inherited Members
Constructors
GatewayIdentity(string, string, GatewayRole, DateTimeOffset)
Represents an authenticated identity (API key, OAuth token, etc.).
public GatewayIdentity(string Id, string DisplayName, GatewayRole Role, DateTimeOffset AuthenticatedAt)
Parameters
IdstringDisplayNamestringRoleGatewayRoleAuthenticatedAtDateTimeOffset
Properties
AuthenticatedAt
public DateTimeOffset AuthenticatedAt { get; init; }
Property Value
Claims
public IReadOnlyDictionary<string, string> Claims { get; init; }
Property Value
DisplayName
public string DisplayName { get; init; }
Property Value
Id
public string Id { get; init; }
Property Value
Role
public GatewayRole Role { get; init; }