spresso.controller package¶
Subpackages¶
- spresso.controller.grant package
- Subpackages
- spresso.controller.grant.api package
- spresso.controller.grant.authentication package
- Subpackages
- Submodules
- spresso.controller.grant.authentication.core module
- spresso.controller.grant.authentication.forward module
- spresso.controller.grant.authentication.identity_provider module
- spresso.controller.grant.authentication.relying_party module
- Module contents
- Submodules
- spresso.controller.grant.base module
- spresso.controller.grant.settings module
- Module contents
- Subpackages
- spresso.controller.web package
Submodules¶
spresso.controller.application module¶
-
class
Application
(response_class=<class 'spresso.model.web.base.Response'>)[source]¶ Bases:
object
Endpoint of requests to the SPRESSO provider.
Parameters: response_class ( Response
) – The response class.-
dispatch
(request, environ)[source]¶ Dispatching of a client request. Choose the correct grant type from the request and dispatch the request to it.
Parameters: - request (
Request
) – The request. - environ (dict) – The WSGI environment.
Returns: func:’GrantHandler.process’ call on the appropriate grant, returning a response to the requesting client.
Return type: The
- request (
-