Class AdminRegistrationToken
A registration token in Synapse's admin API.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record AdminRegistrationToken : IEquatable<AdminRegistrationToken>
Properties
| Edit this page View SourceCompleted
Registrations that used it.
Declaration
public int Completed { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
ExpiryTime
Expiry, in milliseconds since the Unix epoch; null for never.
Declaration
public long? ExpiryTime { get; init; }
Property Value
| Type | Description |
|---|---|
| long? |
Pending
Registrations in progress with it.
Declaration
public int Pending { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
Token
The token.
Declaration
public string Token { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
UsesAllowed
How many registrations may use it; null for any number.
Declaration
public int? UsesAllowed { get; init; }
Property Value
| Type | Description |
|---|---|
| int? |