server.web.auth =============== .. py:module:: server.web.auth Attributes ---------- .. autoapisummary:: server.web.auth.log server.web.auth.config server.web.auth.oauth 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:: oauth .. 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