Class ApplicationUser
Application user with email/password authentication and optional GitHub connection.
public class ApplicationUser : IdentityUser<int>
- Inheritance
-
ApplicationUser
- Inherited Members
Properties
ApiTokens
API tokens created by this user.
public ICollection<ApiToken> ApiTokens { get; set; }
Property Value
AvatarUrl
URL to user's avatar image. Can be from GitHub or uploaded.
public string? AvatarUrl { get; set; }
Property Value
CreatedAt
When the user account was created.
public DateTime CreatedAt { get; set; }
Property Value
DisplayName
Display name shown in the UI. Defaults to email prefix if not set.
public string? DisplayName { get; set; }
Property Value
EffectiveDisplayName
Gets the display name or falls back to email prefix.
public string EffectiveDisplayName { get; }
Property Value
EmailVerificationSentAt
When the last verification email was sent. Used to prevent spamming the resend button.
public DateTime? EmailVerificationSentAt { get; set; }
Property Value
EmailVerificationToken
Token for email verification link. Cleared after successful verification.
public string? EmailVerificationToken { get; set; }
Property Value
EmailVerified
Whether the user has verified their email address. Users can still log in without verification but see a reminder banner.
public bool EmailVerified { get; set; }
Property Value
GitHubAccessToken
Encrypted OAuth access token for GitHub API access. Used for listing repositories and creating projects.
public string? GitHubAccessToken { get; set; }
Property Value
GitHubConnectedAt
When the GitHub account was connected.
public DateTime? GitHubConnectedAt { get; set; }
Property Value
GitHubId
GitHub's unique user ID. Null if GitHub not connected.
public long? GitHubId { get; set; }
Property Value
- long?
GitHubLogin
GitHub username. Can change if user renames their GitHub account.
public string? GitHubLogin { get; set; }
Property Value
HasGitHubConnection
Whether the user has connected a GitHub account.
public bool HasGitHubConnection { get; }
Property Value
LastLoginAt
When the user last logged in.
public DateTime? LastLoginAt { get; set; }
Property Value
Projects
Projects owned by this user.
public ICollection<Project> Projects { get; set; }