KestrunContext.User property

Gets the user associated with the current HTTP context.

public ClaimsPrincipal User { get; }

See Also