Retrieves the currently stored Spotify client ID and secret
as an object. Used by API modules that need to authenticate
requests to the Spotify Web API.
Returns {clientId:string;clientSecret:string}
Object containing clientId and clientSecret properties
Example
// Get credentials for API requests const { clientId, clientSecret } = getCredentials(); if (!clientId || !clientSecret) { console.error('Missing Spotify API credentials'); }
Gets the Spotify API credentials
Retrieves the currently stored Spotify client ID and secret as an object. Used by API modules that need to authenticate requests to the Spotify Web API.