Skip to main content

ConsoleTokenList

A class in TavernLib, TavernLib.Backend.RemoteConsole.

The contents of console_tokens.json: the named tokens and the owner token's generation. Unknown fields are kept.

Constructors​

MemberWhat it is
ConsoleTokenList()Created by TavernLib; mods don't make one.

Properties​

MemberWhat it is
int OwnerGeneration { get; set; }Raised by token rotate owner, which makes the old owner token stop working. The launcher reads it to write console_token.txt.
List<ConsoleToken> Tokens { get; set; }Every named token, revoked ones included.
1 private and internal property
MemberWhat it is
private IDictionary<string, JToken> Extra { get; set; }Holds JSON keys TavernLib doesn't model, so they are written back unchanged.

Used in​

Members of other types that take, return or hold a ConsoleTokenList: