API Reference
token()
Get a signed token for the given payload.
payload (dict) – a dictionary specifying the claims
timeout (float) – timeout in seconds for the demo service request
an encoded token for the payload