CloudConfig
class CloudConfig extends BaseConfigSection
Defines the cloud configuration required to connect your application to Cloudinary.
Learn more: Get account details from the Cloudinary Console.
Properties
| string | $cloudName | Mandatory. The name of your Cloudinary cloud. Used to build the public URL for all your media assets. | |
| string | $apiKey | Mandatory for server-side operations. Used together with the API secret to communicate with the Cloudinary API and sign requests. | |
| string | $apiSecret | Mandatory for server-side operations. Used together with the API key to communicate with the Cloudinary API and sign requests. | |
| string | $oauthToken | Optional for sever-side operations. Can be passed instead of passing API key and API secret. |
Methods
__toString()
Serialises configuration section to a string representation.
Details
string
__toString()
Serialises configuration section to a string representation.
Constants
| CONFIG_NAME |
|
| DEFAULT_SIGNATURE_ALGORITHM |
|
| CLOUD_NAME |
|
| API_KEY |
|
| API_SECRET |
|
| OAUTH_TOKEN |
|
| SIGNATURE_ALGORITHM |
|