magpie.app

Magpie is a service for AuthN and AuthZ based on Ziggurat-Foundations.

Module Contents

Functions

setup_magpie_configs(→ None)

Resolve known configuration file paths from settings or environment variables and process them for the application.

main(→ pyramid.router.Router)

This function returns a Pyramid WSGI application.

Attributes

LOGGER

magpie.app.LOGGER[source]
magpie.app.setup_magpie_configs(settings: magpie.typedefs.SettingsType, db_session: sqlalchemy.orm.session.Session | None = None, setup_providers: bool = True, setup_permissions: bool = True, setup_webhooks: bool = True, skip_registration: bool = False) None[source]

Resolve known configuration file paths from settings or environment variables and process them for the application.

magpie.app.main(global_config: magpie.typedefs.SettingsType | None = None, **settings: magpie.typedefs.SettingsType) pyramid.router.Router[source]

This function returns a Pyramid WSGI application.