Class ImpersonationOverlay
N7-3 — BFF-side state for an admin impersonation overlay ("view-as" mode).
Persisted as a separate DataProtection-signed cookie, independent of the auth cookie,
so the admin's own session and tokens are never replaced. UI pages and the BFF read
this overlay to scope queries / forms to the target user.
public sealed record ImpersonationOverlay : IEquatable<ImpersonationOverlay>
Inheritance
Implements
Properties
AdminSubject
public string AdminSubject { get; init; }
StartedAt
public DateTimeOffset StartedAt { get; init; }
TargetLogin
public string TargetLogin { get; init; }
TargetUserId
public long TargetUserId { get; init; }
Constructors
ImpersonationOverlay(long, string, string, DateTimeOffset)
N7-3 — BFF-side state for an admin impersonation overlay ("view-as" mode).