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

NameTypeRequiredDescription
configurationstructYesa structure containing configuration keys and values
validationResultanyYesA Validation result object with which problems can be reported.