The cinder.api.middleware.auth Module

The cinder.api.middleware.auth Module

Common Auth Middleware.

class CinderKeystoneContext(application)

Bases: cinder.wsgi.common.Middleware

Make a request context from keystone headers.

class InjectContext(context, *args, **kwargs)

Bases: cinder.wsgi.common.Middleware

Add a ‘cinder.context’ to WSGI environ.

class NoAuthMiddleware(application)

Bases: cinder.wsgi.common.Middleware

Return 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.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.