splatnet3_scraper.auth.Token(value, name, timestamp)

Initializes a Token object. The expiration time is calculated based on the token type, with a default of 1e10 seconds (about 316 days, this should be basically forever for all intents and purposes; if you have a python session running for that long, you have bigger problems than a token expiring).

Parameters:
value : str

The value of the token, this is the actual token.

name : str

The name of the token, this is used to identify which type of token it represents, making it easier for the manager to handle the tokens when searching for a specific one. It also determines the expiration time of the token.

timestamp : float

The time the token was created, in seconds since the epoch. This is used to determine if the token is expired.