MoodleNet OAuth 2 configuration.
More...
MoodleNet OAuth 2 configuration.
- Copyright
- 2023 Jake Dallimore jrhda.nosp@m.llim.nosp@m.ore@g.nosp@m.mail.nosp@m..com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ client_registration()
static core\oauth2\service\moodlenet::client_registration |
( |
issuer | $issuer | ) |
|
|
staticprotected |
Perform (open) OAuth 2 Dynamic Client Registration with the MoodleNet application.
- Parameters
-
issuer | $issuer | the issuer instance containing the service baseurl. |
- Return values
-
◆ create_endpoints()
static core\oauth2\service\moodlenet::create_endpoints |
( |
issuer | $issuer | ) |
|
|
static |
◆ discover_endpoints()
static core\oauth2\service\moodlenet::discover_endpoints |
( |
| $issuer | ) |
|
|
static |
Read the OAuth 2 Auth Server Metadata.
- Parameters
-
issuer | $issuer | the issuer instance. |
- Return values
-
int | the number of endpoints created. |
Implements core\oauth2\service\issuer_interface.
◆ init()
static core\oauth2\service\moodlenet::init |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: