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.

Previous topic

The cinder.api.extensions Module

Next topic

The cinder.api.middleware.fault Module

Project Source

This Page