Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core\oauth2\service\moodlenet Class Reference
Inheritance diagram for core\oauth2\service\moodlenet:
core\oauth2\service\issuer_interface

Static Public Member Functions

static create_endpoints (issuer $issuer)
 Create the endpoints for the issuer.
 
static discover_endpoints ($issuer)
 Read the OAuth 2 Auth Server Metadata.
 
static init ()
 Get the issuer template to display in the form.
 

Static Protected Member Functions

static client_registration (issuer $issuer)
 Perform (open) OAuth 2 Dynamic Client Registration with the MoodleNet application.
 

Member Function Documentation

◆ 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$issuerthe issuer instance containing the service baseurl.
Return values
void

◆ create_endpoints()

static core\oauth2\service\moodlenet::create_endpoints ( issuer $issuer)
static

Create the endpoints for the issuer.

Parameters
issuer$issuerthe issuer instance.
Return values
issuerthe issuer instance.

Implements core\oauth2\service\issuer_interface.

◆ discover_endpoints()

static core\oauth2\service\moodlenet::discover_endpoints ( $issuer)
static

Read the OAuth 2 Auth Server Metadata.

Parameters
issuer$issuerthe issuer instance.
Return values
intthe number of endpoints created.

Implements core\oauth2\service\issuer_interface.

◆ init()

static core\oauth2\service\moodlenet::init ( )
static

Get the issuer template to display in the form.

Return values
issuerthe issuer.

Implements core\oauth2\service\issuer_interface.


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