Application Module

credproxy.app.set_service_context()[source]

Set service name in Flask’s g context for access logging.

credproxy.app.init_app(config: Config) flask.Flask[source]

Create and configure Flask app.

The application module contains the main Flask application setup and request handling logic for CredProxy.

Key Functions

create_app(config_class=None)

Creates and configures the Flask application with all necessary blueprints and middleware.

set_service_context()

Sets service context in Flask’s g context for access logging based on authorization tokens.