Spotify OAuth and Web API configuration. More...
Classes | |
| class | SpotifyConfig |
| Spotify OAuth and API configuration. More... | |
Functions | |
| Optional[SpotifyConfig] | load_spotify_config_from_secrets (SecretManagerIf secret_manager, *str client_id_secret_name=SPOTIFY_CLIENT_ID_SECRET_NAME, str redirect_uri_secret_name=SPOTIFY_REDIRECT_URI_SECRET_NAME) |
| Load Spotify configuration from a secret manager. | |
Spotify OAuth and Web API configuration.
| Optional[SpotifyConfig] spotify.spotify_config.load_spotify_config_from_secrets | ( | SecretManagerIf | secret_manager, |
| *str | client_id_secret_name = SPOTIFY_CLIENT_ID_SECRET_NAME, |
||
| str | redirect_uri_secret_name = SPOTIFY_REDIRECT_URI_SECRET_NAME |
||
| ) |
Load Spotify configuration from a secret manager.
Spotify uses OAuth PKCE, so no client secret is required.
| secret_manager | Source of runtime secrets. |
| client_id_secret_name | Secret key containing the Spotify client ID. |
| redirect_uri_secret_name | Optional secret key overriding the callback. |
None when no client ID exists.