Bases: keystone.token.persistence.core.TokenDriverV8
KeyValueStore backend for tokens.
This is the base implementation for any/all key-value-stores (e.g. memcached) for the Token backend. It is recommended to only use the base in-memory implementation for testing purposes.
Create a token by id and data.
It is assumed the caller has performed data validation on the “data” parameter.
Bases: keystone.token.persistence.backends.kvs.Token
Bases: keystone.token.persistence.backends.memcache.Token
Bases: keystone.token.persistence.core.TokenDriverV8
Delete all tokens in one session.
The user_id will be ignored if the trust_id is specified. user_id will always be specified. If using a trust, the token’s user_id is set to the trustee’s user ID or the trustor’s user ID, so will use trust_id to query the tokens.