server.web.auth

Attributes

log

config

oauth

oauth_instance

Functions

is_auth_enabled(→ bool)

Check if authentication is enabled.

setup_oauth(...)

Setup OAuth only if authentication is enabled.

Module Contents

server.web.auth.log
server.web.auth.config
server.web.auth.oauth
server.web.auth.is_auth_enabled() bool

Check if authentication is enabled.

server.web.auth.setup_oauth() authlib.integrations.starlette_client.OAuth | None

Setup OAuth only if authentication is enabled.

server.web.auth.oauth_instance = None