The cinder.api.middleware.auth Module¶
Common Auth Middleware.
-
class
CinderKeystoneContext(application)¶ Bases:
cinder.wsgi.common.MiddlewareMake a request context from keystone headers.
-
class
InjectContext(context, *args, **kwargs)¶ Bases:
cinder.wsgi.common.MiddlewareAdd a ‘cinder.context’ to WSGI environ.
-
class
NoAuthMiddleware(application)¶ Bases:
cinder.wsgi.common.MiddlewareReturn a fake token if one isn’t specified.
-
pipeline_factory(loader, global_conf, **local_conf)¶ A paste pipeline replica that keys off of auth_strategy.