Class SessionResponse

Assembly: redb.Identity.Contracts.dll

Session record returned by the management API.

public sealed class SessionResponse

Inheritance

Object→SessionResponse

Properties

ApplicationId

[JsonPropertyName("applicationId")]
public long ApplicationId { get; set; }

ApplicationName

[JsonPropertyName("applicationName")]
public string? ApplicationName { get; set; }

ClientId

[JsonPropertyName("clientId")]
public string? ClientId { get; set; }

CreatedAt

[JsonPropertyName("createdAt")]
public DateTimeOffset? CreatedAt { get; set; }

DeviceLabel

Human-friendly device label (e.g. "Chrome 135 on Windows 10").

[JsonPropertyName("deviceLabel")]
public string? DeviceLabel { get; set; }

IpAddress

Client IP captured at session creation (sanitized when behind a trusted proxy).

[JsonPropertyName("ipAddress")]
public string? IpAddress { get; set; }

LastAccessedAt

S-track: timestamp of the most recent token-refresh / cookie / userinfo activity.

[JsonPropertyName("lastAccessedAt")]
public DateTimeOffset? LastAccessedAt { get; set; }

LastAccessedBy

S-track: short label of the activity that bumped LastAccessedAt ("refresh_token", "cookie", …).

[JsonPropertyName("lastAccessedBy")]
public string? LastAccessedBy { get; set; }

SessionId

[JsonPropertyName("sessionId")]
public long SessionId { get; set; }

Status

[JsonPropertyName("status")]
public string? Status { get; set; }

UserAgent

Raw User-Agent header at session creation.

[JsonPropertyName("userAgent")]
public string? UserAgent { get; set; }

UserId

[JsonPropertyName("userId")]
public long UserId { get; set; }

UserLogin

Login of the session owner — populated by the admin list / list-all paths

[JsonPropertyName("userLogin")]
public string? UserLogin { get; set; }