SECRETS_NEEDED_STEP
SECRETS_NEEDED_STEP
Manage the installation of the LTI application on a LAMP stack
createSecretsFile(scalar $step = self::SECRETS_NEEDED_STEP)
Generate a SECRETS_FILE from user input.
scalar | $step | optional Where are we in the SECRETS_FILE creation workflow? (defaults to SECRETS_NEEDED_STEP -- the beginning) |
If form submission does not contain all required MySQL credentals (host, username, password and database)
If SECRETS_FILE cannot be created
If $step is not a pre-defined *_STEP constant
acquireAPIToken(scalar $step = self::API_DECISION_NEEDED_STEP, boolean $skip = false)
Obtain a Canvas API token, if needed.
scalar | $step | optional Where are we in the API token negotiation workflow? (defaults to API_DECISION_NEEDED_STEP -- the beginning) |
boolean | $skip | optional Skip this step (defaults to FALSE) |
If $step is not a pre-defined *_STEP constant