initializeClient()
Home > @gooddata/sdk-backend-spi > IAuthenticationProvider > initializeClient
IAuthenticationProvider.initializeClient() method
Perform custom initialization of the client that the Analytical Backend uses to communicate with the server.
Signature:
initializeClient?(client: any): void;
Parameters
Parameter | Type | Description |
---|---|---|
client | any | an instance of client |
Returns:
void
Remarks
If implemented, this function WILL BE called by the backend every time a new instance of API client is created.
Note: the configuration and construction of Analytical Backend instance is cumulative. Backend implementations MAY create multiple instances of clients during construction.