Class ApiKeyProps

Assembly: redb.Tsak.Core.dll

Props class for API key entries stored as redb objects.

public class ApiKeyProps

Inheritance

Object→ApiKeyProps

Properties

CreatedAt

public DateTimeOffset CreatedAt { get; set; }

ExpiresAt

public DateTimeOffset? ExpiresAt { get; set; }

Id

Public identifier for revocation/listing. Unique per scheme via [RedbUnique]

public string? Id { get; set; }

KeyHash

public string KeyHash { get; set; }

Name

public string Name { get; set; }

Revoked

public bool Revoked { get; set; }

Roles

public string Roles { get; set; }

UserId

public string? UserId { get; set; }