Class AuthorizationError
A failure answer, in Matrix style.
Implements
Inherited Members
Namespace: Uniform.LiveKit.Protocol
Assembly: Uniform.LiveKit.Protocol.dll
Syntax
public sealed record AuthorizationError : IEquatable<AuthorizationError>
Fields
| Edit this page View SourceBadJson
The body is not a valid request.
Declaration
public const string BadJson = "M_BAD_JSON"
Field Value
| Type | Description |
|---|---|
| string |
Forbidden
The user may not.
Declaration
public const string Forbidden = "M_FORBIDDEN"
Field Value
| Type | Description |
|---|---|
| string |
Unauthorized
The OpenID token did not verify, or the claimed user is not its user.
Declaration
public const string Unauthorized = "M_UNAUTHORIZED"
Field Value
| Type | Description |
|---|---|
| string |
Unknown
Another failure, e.g. LiveKit could not be reached.
Declaration
public const string Unknown = "M_UNKNOWN"
Field Value
| Type | Description |
|---|---|
| string |
Unrecognized
No such endpoint.
Declaration
public const string Unrecognized = "M_UNRECOGNIZED"
Field Value
| Type | Description |
|---|---|
| string |
Properties
| Edit this page View SourceError
Human-readable reason.
Declaration
[JsonPropertyName("error")]
public string Error { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
ErrorCode
Error code, e.g. Forbidden.
Declaration
[JsonPropertyName("errcode")]
public string ErrorCode { get; init; }
Property Value
| Type | Description |
|---|---|
| string |