Bases: nova.wsgi.Middleware
Authorize the openstack API request or return an HTTP Forbidden.
retrieves user information from the datastore given a token
If the token has expired, returns None If the token is not found, returns None Otherwise returns dict(id=(the authorized user’s id))
This method will also remove the token if the timestamp is older than 2 days ago.
Bases: nova.wsgi.Middleware
Return a fake token if one isn’t specified.