Table of Contents

Class ApplicationUser

Namespace
Ando.Server.Models
Assembly
Ando.Server.dll

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

ICollection<ApiToken>

AvatarUrl

URL to user's avatar image. Can be from GitHub or uploaded.

public string? AvatarUrl { get; set; }

Property Value

string

CreatedAt

When the user account was created.

public DateTime CreatedAt { get; set; }

Property Value

DateTime

DisplayName

Display name shown in the UI. Defaults to email prefix if not set.

public string? DisplayName { get; set; }

Property Value

string

EffectiveDisplayName

Gets the display name or falls back to email prefix.

public string EffectiveDisplayName { get; }

Property Value

string

EmailVerificationSentAt

When the last verification email was sent. Used to prevent spamming the resend button.

public DateTime? EmailVerificationSentAt { get; set; }

Property Value

DateTime?

EmailVerificationToken

Token for email verification link. Cleared after successful verification.

public string? EmailVerificationToken { get; set; }

Property Value

string

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

bool

GitHubAccessToken

Encrypted OAuth access token for GitHub API access. Used for listing repositories and creating projects.

public string? GitHubAccessToken { get; set; }

Property Value

string

GitHubConnectedAt

When the GitHub account was connected.

public DateTime? GitHubConnectedAt { get; set; }

Property Value

DateTime?

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

string

HasGitHubConnection

Whether the user has connected a GitHub account.

public bool HasGitHubConnection { get; }

Property Value

bool

LastLoginAt

When the user last logged in.

public DateTime? LastLoginAt { get; set; }

Property Value

DateTime?

Projects

Projects owned by this user.

public ICollection<Project> Projects { get; set; }

Property Value

ICollection<Project>