Class RegisterRequest
Request of POST /_matrix/client/v3/register.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record RegisterRequest : IEquatable<RegisterRequest>
Properties
| Edit this page View SourceAuth
User-interactive auth of this attempt, e.g. {"type":"m.login.dummy","session":"..."}.
Declaration
public JsonObject? Auth { get; init; }
Property Value
| Type | Description |
|---|---|
| JsonObject |
DeviceId
Device to create; the server generates one when null.
Declaration
public string? DeviceId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
InhibitLogin
Whether to skip logging in, so no access token is returned.
Declaration
public bool? InhibitLogin { get; init; }
Property Value
| Type | Description |
|---|---|
| bool? |
InitialDeviceDisplayName
Display name of the new device.
Declaration
public string? InitialDeviceDisplayName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Password
Password of the new account.
Declaration
public string? Password { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Username
Wanted localpart; the server picks one when null.
Declaration
public string? Username { get; init; }
Property Value
| Type | Description |
|---|---|
| string |