Class AuthSession
Fluxer entity with client attached.
public class AuthSession : Entity, IAuthSession
- Inheritance
-
objectAuthSession
- Implements
Properties
ApproximateLastUsedAt
ISO timestamp of the session last usage. (approximate)
public DateTimeOffset ApproximateLastUsedAt { get; }
Property Value
ClientCountry
Approximate geo location label for the client IP, if available.
public string? ClientCountry { get; }
Property Value
ClientIp
Client IP address.
public string ClientIp { get; }
Property Value
ClientIpReverse
Reverse DNS hostname for the client IP (PTR), if available.
public string? ClientIpReverse { get; }
Property Value
ClientOs
Client operating system, if detected.
public string? ClientOs { get; }
Property Value
ClientPlatform
Client platform, if detected.
public string? ClientPlatform { get; }
Property Value
CreatedAt
ISO timestamp when the session was created.
public DateTimeOffset CreatedAt { get; }
Property Value
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
clientFluxerBaseClientjsonAuthSessionJson