Table of Contents

Class ApiSessionToken

Namespace
Tudormobile.OpenTrivia
Assembly
Tudormobile.OpenTrivia.dll

Represents a session token for the API.

public class ApiSessionToken
Inheritance
ApiSessionToken
Inherited Members

Constructors

ApiSessionToken(string)

Creates a new instance of the ApiSessionToken class.

public ApiSessionToken(string token = "")

Parameters

token string

Properties

Token

The session token used for API requests.

public string Token { get; init; }

Property Value

string

Methods

ToString()

public override string ToString()

Returns

string