keystonemiddleware.oauth2_token module

class keystonemiddleware.oauth2_token.OAuth2Protocol(app, conf)

Bases: AuthProtocol

Middleware that handles OAuth2.0 client credentials authentication.

process_request(request)

Process request.

Parameters:

request (_request.AuthTokenRequest) – Incoming request

keystonemiddleware.oauth2_token.filter_factory(global_conf, **local_conf)

Return a WSGI filter app for use with paste.deploy.