Skip to main content

Module auth

Module auth 

Source
Expand description

Atlassian credential management.

Loads and saves Atlassian Cloud API credentials from/to the ~/.omni-dev/settings.json file using the existing env map.

Structs§

AtlassianCredentials
Atlassian Cloud credentials.
AtlassianScopeStatus
Summary of a single Atlassian credential scope.
AuthStatus
Aggregate credential status across every known Atlassian scope.

Constants§

ATLASSIAN_API_TOKEN
Environment variable / settings key for the Atlassian API token.
ATLASSIAN_EMAIL
Environment variable / settings key for the Atlassian user email.
ATLASSIAN_INSTANCE_URL
Environment variable / settings key for the Atlassian instance URL.

Functions§

load_credentials
Loads Atlassian credentials from environment variables or settings.json.
save_credentials
Saves Atlassian credentials to ~/.omni-dev/settings.json.
status
Builds an AuthStatus from the current settings / environment.