Class LoginResponse
Response of POST /_matrix/client/v3/login.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record LoginResponse : IEquatable<LoginResponse>
Properties
| Edit this page View SourceAccessToken
Token for authenticated requests.
Declaration
public required string AccessToken { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
DeviceId
Device the token belongs to.
Declaration
public required string DeviceId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
ExpiresInMs
Access token lifetime in milliseconds; null when it does not expire.
Declaration
public long? ExpiresInMs { get; init; }
Property Value
| Type | Description |
|---|---|
| long? |
RefreshToken
Token for refreshing an expiring access token.
Declaration
public string? RefreshToken { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
UserId
Full user ID, e.g. @alice:matrix.org.
Declaration
public required string UserId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |