Class RegistrationRequirements
What RegisterAsync(string, string, string?, string?, bool, bool, CancellationToken) needs on a server, from GetRegistrationRequirementsAsync(CancellationToken).
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Client
Assembly: Uniform.Matrix.Protocol.Client.dll
Syntax
public sealed record RegistrationRequirements : IEquatable<RegistrationRequirements>
Properties
| Edit this page View SourceNeedsToken
Whether a registration token from the server's admin is needed.
Declaration
public bool NeedsToken { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
Policies
Policies the user reads and accepts before registering; empty when there are none.
Declaration
public IReadOnlyList<TermsPolicy> Policies { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<TermsPolicy> |
Supported
Whether this client can register here; false when the server wants stages it cannot answer, e.g. a captcha or an email.
Declaration
public bool Supported { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |