Class LocalToken
- Namespace
- OverKizApi.Models
- Assembly
- OverKizApi.dll
Descriptor for a local gateway API token generated via GenerateLocalToken(string) and activated with ActivateLocalToken(string, string, string, string).
public sealed class LocalToken
- Inheritance
-
LocalToken
- Inherited Members
Properties
ExpirationTime
Unix epoch millisecond timestamp when this token expires, or null if it does not expire.
public long? ExpirationTime { get; init; }
Property Value
- long?
GatewayCreationTime
Unix epoch millisecond timestamp recorded when the gateway was created.
public long GatewayCreationTime { get; init; }
Property Value
GatewayId
Serial number of the gateway this token is bound to.
public string? GatewayId { get; init; }
Property Value
Label
User-assigned label for this token.
public string? Label { get; init; }
Property Value
Scope
Access scope granted by this token (e.g. "devmode").
public string? Scope { get; init; }
Property Value
Uuid
UUID that uniquely identifies this token; required when deleting via DeleteLocalToken(string, string).
public string? Uuid { get; init; }