app.api.v2 package

Subpackages

Submodules

app.api.v2.security module

app.api.v2.security.authentication_exempt(handler)

Mark the endpoint handler as not requiring authentication.

Note:

This only applies when the authentication_required_middleware is being used.

app.api.v2.security.authentication_required_middleware_factory(auth_svc)

Enforce authentication on every endpoint within an web application.

Note:

Any endpoint handler can opt-out of authentication using the @authentication_exempt decorator.

app.api.v2.security.is_handler_authentication_exempt(handler)

Return True if the endpoint handler is authentication exempt.

Module contents

app.api.v2.make_app(services)