TokenEntry is an interface for token entries that have an expiration time. Both AccessEntry (AC) and ACTokenEntry (Server) implement this interface.
| 10 | // TokenEntry is an interface for token entries that have an expiration time. |
| 11 | // Both AccessEntry (AC) and ACTokenEntry (Server) implement this interface. |
| 12 | type TokenEntry interface { |
| 13 | GetExpireTime() time.Time |
| 14 | } |
| 15 | |
| 16 | // TokenStore is a generic two-level map for efficient token storage. |
| 17 | // The first level is indexed by the first character of the token for fast lookup. |
no outgoing calls
no test coverage detected