Class MatrixSession
Logged-in session; store it to resume with MatrixClient(HttpClient, MatrixSession) without logging in again.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Client
Assembly: Uniform.Matrix.Protocol.Client.dll
Syntax
public sealed record MatrixSession : IEquatable<MatrixSession>
Properties
| Edit this page View SourceAccessToken
Access token; keeps secret.
Declaration
public required string AccessToken { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
DeviceId
Device ID.
Declaration
public required string DeviceId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Homeserver
Homeserver base URL.
Declaration
public required Uri Homeserver { get; init; }
Property Value
| Type | Description |
|---|---|
| Uri |
UserId
Full user ID.
Declaration
public required string UserId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |