Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
enrol_lti\local\ltiadvantage\repository\legacy_consumer_repository Class Reference

Public Member Functions

 get_consumer_secrets (string $consumerkey)
 Get a list of all shared secrets which a given LTI 1.1/2.0 consumer is associated with.
 

Member Function Documentation

◆ get_consumer_secrets()

enrol_lti\local\ltiadvantage\repository\legacy_consumer_repository::get_consumer_secrets ( string $consumerkey)

Get a list of all shared secrets which a given LTI 1.1/2.0 consumer is associated with.

A single consumer key may be used across several tool definitions, with different secrets, thus permitting a one:many relationship between consumer and secret.

Parameters
string$consumerkeythe key identifying the consumer.
Return values
string[]an array of secrets corresponding to the consumer key.

The documentation for this class was generated from the following file: