Class OpenIdToken
A Matrix OpenID token, as /_matrix/client/v3/user/{userId}/openid/request_token returns it, which proves the user to a service through the user's homeserver.
Implements
Inherited Members
Namespace: Uniform.LiveKit.Protocol
Assembly: Uniform.LiveKit.Protocol.dll
Syntax
public sealed record OpenIdToken : IEquatable<OpenIdToken>
Properties
| Edit this page View SourceAccessToken
The token the homeserver checks.
Declaration
[JsonPropertyName("access_token")]
public string? AccessToken { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
ExpiresIn
Seconds the token holds.
Declaration
[JsonPropertyName("expires_in")]
public long ExpiresIn { get; init; }
Property Value
| Type | Description |
|---|---|
| long |
MatrixServerName
The homeserver that issued it, and that the service asks.
Declaration
[JsonPropertyName("matrix_server_name")]
public string? MatrixServerName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
TokenType
Always Bearer.
Declaration
[JsonPropertyName("token_type")]
public string? TokenType { get; init; }
Property Value
| Type | Description |
|---|---|
| string |