(no description)
File Size: | 121 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
issuer_database:: (3 methods):
__construct()
findRegistrationByIssuer()
findDeployment()
Class: issuer_database - X-Ref
The issuer_database class, providing a read-only store of issuer details.__construct(application_registration_repository $appregrepo,deployment_repository $deploymentrepo) X-Ref |
The issuer_database constructor. param: application_registration_repository $appregrepo an application registration repository instance. param: deployment_repository $deploymentrepo a deployment repository instance. |
findRegistrationByIssuer($iss, $clientId = null) X-Ref |
Find and return an LTI registration based on its unique {issuer, client_id} tuple. return: LtiRegistration|null The registration object, or null if not found. param: string $iss the issuer id. param: string $clientId the client_id of the registration. |
findDeployment($iss, $deploymentId, $clientId = null) X-Ref |
Returns an LTI deployment based on the {issuer, client_id} tuple and a deployment id string. return: LtiDeployment|null The deployment object or null if not found. param: string $iss the issuer id. param: string $deploymentId the deployment id. param: string $clientId the client_id of the registration. |