class documentation
class TokenVersion: (source)
Constructor: TokenVersion(prefix, delimiter, signature_position, token_parts_count)
Represents a token version with its structural properties.
This class encapsulates the characteristics of a token format, including the prefix, delimiter used to separate parts, the position of the signature within the token parts, and the expected number of token parts.
| Parameters | |
| prefix | The prefix that identifies this token version. |
| delimiter | The delimiter used to split the token into parts. |
| signature | The zero-based index of the signature part. |
| token | The expected number of parts. |
| Method | __init__ |
Undocumented |
| Instance Variable | delimiter |
The delimiter used to split the token into parts. |
| Instance Variable | prefix |
The prefix that identifies this token version. |
| Instance Variable | signature |
The zero-based index of the signature part in the token. |
| Instance Variable | token |
The expected number of parts when the token is split by delimiter. |