Package revocation contains utilities for implementing token revocation.
Not really implemented for now.
func GenerateTokenID ¶
GenerateTokenID produces an int64 that can be used as a token identifier.
We reuse datastore ID generator to produce token ids. The tokens are not actually stored in the datastore. The generated ID sequence is associated with some entity kind (indicated via 'kind'). If we ever need to restart the ID sequence, this kind can be changed.