Documentation ¶
Overview ¶
Package revocation contains utilities for implementing token revocation.
Not really implemented for now.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.