\

Classes

CanvasAPIviaLTI A Tool Provider that can handle LTI requests
CanvasAPIviaLTI_Exception Exceptions thrown by CanvasAPIviaLTI
CanvasAPIviaLTI_Installer Manage the installation of the LTI application on a LAMP stack
CanvasAPIviaLTI_Installer_Exception Exceptions thrown by CanvasAPIviaLTI_Installer
UserAPIToken Represents a user who either has or is in the process of acquiring an API access token via OAuth
UserAPIToken_Exception Exceptions thrown by the UserAPIToken

Constants

MYSQL_PREFIX

MYSQL_PREFIX

SCHEMA_FILE

SCHEMA_FILE

SECRETS_FILE

SECRETS_FILE

Functions

initMySql()

initMySql() : \mysqli

Initialize a mysqli connector using the credentials stored in SECRETS_FILE

Throws

\CanvasAPIviaLTI_Exception

MYSQL_CONNECTION if a mysqli connection cannot be established

Returns

\mysqli —

A valid mysqli connector to the database backing the CanvasAPIviaLTI instance

initSecrets()

initSecrets() : \SimpleXMLElement

Initialize a SimpleXMLElement from the SECRETS_FILE

Throws

\CanvasAPIviaLTI_Exception

MISSING_SECRETS_FILE if the SECRETS_FILE cannot be found

\CanvasAPIviaLTI_Exception

INVALID_SECRETS_FILE if the SECRETS_FILE exists, but cannot be parsed

Returns

\SimpleXMLElement