server.web.auth =============== .. py:module:: server.web.auth Attributes ---------- .. autoapisummary:: server.web.auth.log server.web.auth._CONFIG server.web.auth.config server.web.auth.oauth server.web.auth._oauth_setup server.web.auth.oauth_instance Functions --------- .. autoapisummary:: server.web.auth.is_auth_enabled server.web.auth.setup_oauth Module Contents --------------- .. py:data:: log .. py:data:: _CONFIG .. py:data:: config .. py:data:: oauth .. py:data:: _oauth_setup :value: False .. py:function:: is_auth_enabled() -> bool Check if authentication is enabled. .. py:function:: setup_oauth() -> Optional[authlib.integrations.starlette_client.OAuth] Setup OAuth only if authentication is enabled. .. py:data:: oauth_instance :value: None