Class AuthEvents
The auth events selection: which state an event's authorization depends on.
Inherited Members
Namespace: Uniform.Matrix.Protocol.Server
Assembly: Uniform.Matrix.Protocol.Server.dll
Syntax
public static class AuthEvents
Methods
| Edit this page View SourceSelect(string, string?, string, JsonObject)
Return the state keys whose current events must be an event's auth_events; empty for m.room.create.
Declaration
public static IReadOnlyList<(string Type, string StateKey)> Select(string type, string? stateKey, string sender, JsonObject content)
Parameters
| Type | Name | Description |
|---|---|---|
| string | type | |
| string | stateKey | |
| string | sender | |
| JsonObject | content |
Returns
| Type | Description |
|---|---|
| IReadOnlyList<(string Type, string StateKey)> |