Get Authentication Credentials
Note: This SDK can only be accessed within Catalyst services like Functions and AppSail. It cannot be used to integrate with third-party services.
This SDK method can be used obtain the authentication credentials for various Zoho services, listed as Default Services.
The connections reference used in the below code snippet is the component instance.
Package Imports
copy
import com.zc.component.connections.ZCConnections;
import com.zc.component.connections.beans.ZCConnectionResponse;
copy
// create connection instance
ZCConnections connections = ZCConnections.getInstance();
// retrieve the authentication credentials for the specified connection
ZCConnectionResponse connectionResponse = connections.getConnectionCredentials("payrollcon");
// connection response
System.out.println("Connection Response Headers: " + connectionResponse.getHeaders());
System.out.println("Connection Response Parameters: " + connectionResponse.getParameters());
Last Updated 2026-02-02 14:37:02 +0530 IST
Yes
No
Send your feedback to us
Skip
Submit