Table of Contents

Class AuthSession

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll

Fluxer entity with client attached.

public class AuthSession : Entity, IAuthSession
Inheritance
object
AuthSession
Implements

Properties

ApproximateLastUsedAt

ISO timestamp of the session last usage. (approximate)

public DateTimeOffset ApproximateLastUsedAt { get; }

Property Value

DateTimeOffset

ClientCountry

Approximate geo location label for the client IP, if available.

public string? ClientCountry { get; }

Property Value

string

ClientIp

Client IP address.

public string ClientIp { get; }

Property Value

string

ClientIpReverse

Reverse DNS hostname for the client IP (PTR), if available.

public string? ClientIpReverse { get; }

Property Value

string

ClientOs

Client operating system, if detected.

public string? ClientOs { get; }

Property Value

string

ClientPlatform

Client platform, if detected.

public string? ClientPlatform { get; }

Property Value

string

CreatedAt

ISO timestamp when the session was created.

public DateTimeOffset CreatedAt { get; }

Property Value

DateTimeOffset

SessionIdHash

Hashed session identifier. (base64url)

public byte[] SessionIdHash { get; }

Property Value

byte[]

Methods

Create(FluxerBaseClient, AuthSessionJson)

Create a AuthSession object from json.

public static AuthSession Create(FluxerBaseClient client, AuthSessionJson json)

Parameters

client FluxerBaseClient
json AuthSessionJson

Returns

AuthSession