clara.conf package

Submodules

clara.conf.google_client_conf module

Google Workspace Client Configuration and Scope Definitions.

This module loads environment variables and defines OAuth 2.0 endpoints, client application identifiers, and API scope groupings for Google Workspace services (Gmail, Calendar, Drive).

clara.conf.google_client_conf.GOOGLE_CLIENT_ID_WEB: str = ''

Google OAuth 2.0 Client ID for Web applications.

clara.conf.google_client_conf.GOOGLE_CLIENT_SECRET_WEB: str = ''

Google OAuth 2.0 Client Secret for Web applications.

clara.conf.google_client_conf.GOOGLE_CLIENT_ID_DESKTOP: str = ''

Google OAuth 2.0 Client ID for Desktop/CLI applications.

clara.conf.google_client_conf.GOOGLE_CLIENT_ID_ANDROID: str = ''

Google OAuth 2.0 Client ID for Android client applications.

clara.conf.google_client_conf.GOOGLE_CLIENT_ID_IOS: str = ''

Google OAuth 2.0 Client ID for iOS client applications.

clara.conf.google_client_conf.AUTH_URI: str = 'https://accounts.google.com/o/oauth2/auth'

OAuth 2.0 Authorization server endpoint URL.

clara.conf.google_client_conf.TOKEN_URI: str = 'https://oauth2.googleapis.com/token'

OAuth 2.0 Token exchange endpoint URL.

clara.conf.google_client_conf.GMAIL_SCOPES: List[str] = ['https://www.googleapis.com/auth/gmail.readonly', 'https://www.googleapis.com/auth/gmail.send', 'https://www.googleapis.com/auth/gmail.modify', 'https://www.googleapis.com/auth/gmail.compose']

Required OAuth scopes for reading, composing, modifying, and sending emails via Gmail.

clara.conf.google_client_conf.CALENDAR_SCOPES: List[str] = ['https://www.googleapis.com/auth/calendar', 'https://www.googleapis.com/auth/calendar.events']

Required OAuth scopes for accessing and managing Google Calendar events.

clara.conf.google_client_conf.DRIVE_SCOPES: List[str] = ['https://www.googleapis.com/auth/drive', 'https://www.googleapis.com/auth/drive.file']

Required OAuth scopes for accessing Google Drive files and documents.

clara.conf.google_client_conf.SCOPES: List[str] = ['https://www.googleapis.com/auth/gmail.readonly', 'https://www.googleapis.com/auth/gmail.send', 'https://www.googleapis.com/auth/gmail.modify', 'https://www.googleapis.com/auth/gmail.compose', 'https://www.googleapis.com/auth/calendar', 'https://www.googleapis.com/auth/calendar.events', 'https://www.googleapis.com/auth/drive', 'https://www.googleapis.com/auth/drive.file']

Combined list of all required Google Workspace OAuth scopes.

Module contents

Configuration and environment settings package for Clara Core.

Provides configuration constants, OAuth scopes, and client IDs for external service integrations.