◆ __construct()
The issuer_database constructor.
- Parameters
-
application_registration_repository | $appregrepo | an application registration repository instance. |
deployment_repository | $deploymentrepo | a deployment repository instance. |
◆ findDeployment()
enrol_lti\local\ltiadvantage\lib\issuer_database::findDeployment |
( |
string | $iss, |
|
|
string | $deploymentId, |
|
|
?string | $clientId = null ) |
Returns an LTI deployment based on the {issuer, client_id} tuple and a deployment id string.
- Parameters
-
string | $iss | the issuer id. |
string | $deploymentId | the deployment id. |
string | null | $clientId | the client_id of the registration. |
- Return values
-
LtiDeployment|null | The deployment object or null if not found. |
Implements Packback\Lti1p3\Interfaces\IDatabase.
◆ findRegistrationByIssuer()
enrol_lti\local\ltiadvantage\lib\issuer_database::findRegistrationByIssuer |
( |
string | $iss, |
|
|
?string | $clientId = null ) |
Find and return an LTI registration based on its unique {issuer, client_id} tuple.
- Parameters
-
string | $iss | the issuer id. |
string | null | $clientId | the client_id of the registration. |
- Return values
-
LtiRegistration|null | The registration object, or null if not found. |
Implements Packback\Lti1p3\Interfaces\IDatabase.
The documentation for this class was generated from the following file:
- enrol/lti/classes/local/ltiadvantage/lib/issuer_database.php