validate()
Overview
public any function validate(
required struct configuration
, required any validationResult
)
A method to validate proposed configuration for the provider. The validate method should ensure that the configuration works (e.g. able to connect to CDN with provided credentials) and flag any errors using the passed Validation result object.
Arguments
Name | Type | Required | Description |
---|---|---|---|
configuration | struct | Yes | a structure containing configuration keys and values |
validationResult | any | Yes | A Validation result object with which problems can be reported. |