◆ create_discovery_endpoint()
static core\oauth2\discovery\base_definition::create_discovery_endpoint |
( |
issuer | $issuer, |
|
|
string | $url ) |
|
staticprotected |
Helper method to create discovery endpoint.
- Parameters
-
issuer | $issuer | Issuer the endpoints should be created for. |
string | $url | Discovery endpoint URL. |
- Return values
-
endpoint | The endpoint created. |
- Exceptions
-
◆ create_endpoints()
static core\oauth2\discovery\base_definition::create_endpoints |
( |
issuer | $issuer | ) |
|
|
static |
◆ create_field_mappings()
static core\oauth2\discovery\base_definition::create_field_mappings |
( |
issuer | $issuer | ) |
|
|
staticabstractprotected |
◆ discover_endpoints()
static core\oauth2\discovery\base_definition::discover_endpoints |
( |
| $issuer | ) |
|
|
static |
If the discovery endpoint exists for this issuer, try and determine the list of valid endpoints.
- Parameters
-
- Return values
-
int | The number of discovered services. |
◆ get_discovery_endpoint_url()
static core\oauth2\discovery\base_definition::get_discovery_endpoint_url |
( |
issuer | $issuer | ) |
|
|
staticabstract |
◆ process_configuration_json()
static core\oauth2\discovery\base_definition::process_configuration_json |
( |
issuer | $issuer, |
|
|
stdClass | $info ) |
|
staticabstractprotected |
Process the discovery information and create endpoints defined with the expected format.
- Parameters
-
issuer | $issuer | The OAuth issuer the endpoints should be discovered for. |
stdClass | $info | The discovery information, with the endpoints to process and create. |
- Return values
-
Reimplemented in core\oauth2\discovery\imsbadgeconnect, and core\oauth2\discovery\openidconnect.
◆ register()
static core\oauth2\discovery\base_definition::register |
( |
issuer | $issuer | ) |
|
|
staticabstractprotected |
The documentation for this class was generated from the following file:
- lib/classes/oauth2/discovery/base_definition.php