Search Results for

    Show / Hide Table of Contents

    Class UserRegistrationToken

    Represents a token for inviting users to an organization

    Inheritance
    object
    UserRegistrationToken
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OEMS.Core.Domain.Klassen
    Assembly: OEMS.Core.dll
    Syntax
    public class UserRegistrationToken

    Properties

    CreatedAt

    When the token was created

    Declaration
    [Required]
    public DateTime CreatedAt { get; set; }
    Property Value
    Type Description
    DateTime

    ExpiresAt

    When the token expires

    Declaration
    [Required]
    public DateTime ExpiresAt { get; set; }
    Property Value
    Type Description
    DateTime

    Id

    Unique identifier for the registration token (auto-incrementing integer in database)

    Declaration
    [Key]
    public int Id { get; set; }
    Property Value
    Type Description
    int

    IsUsed

    Whether the token has been used

    Declaration
    [Required]
    public bool IsUsed { get; set; }
    Property Value
    Type Description
    bool

    Organization

    Navigation property to the associated organization

    Declaration
    public virtual Organization Organization { get; set; }
    Property Value
    Type Description
    Organization

    OrganizationId

    The organization ID the token is associated with

    Declaration
    [Required]
    public Guid OrganizationId { get; set; }
    Property Value
    Type Description
    Guid

    Token

    The token string for user registration

    Declaration
    [Required]
    [StringLength(500)]
    public string Token { get; set; }
    Property Value
    Type Description
    string

    TokenType

    The type of token

    Declaration
    [Required]
    public TokenType TokenType { get; set; }
    Property Value
    Type Description
    TokenType

    UsedAt

    When the token was used

    Declaration
    public DateTime? UsedAt { get; set; }
    Property Value
    Type Description
    DateTime?

    User

    Navigation property to the associated user

    Declaration
    public virtual User User { get; set; }
    Property Value
    Type Description
    User

    UserId

    The user ID the token is associated with

    Declaration
    [Required]
    public Guid UserId { get; set; }
    Property Value
    Type Description
    Guid
    In this article
    Back to top Generated by DocFX