Provide static functions for creating and validating issuers.
More...
Provide static functions for creating and validating issuers.
- Copyright
- 2018 Jan Dageförde (Learnweb, University of Münster)
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ is_valid_issuer()
static repository_nextcloud\issuer_management::is_valid_issuer |
( |
\core\oauth2\issuer | $issuer | ) |
|
|
static |
Check if an issuer provides all endpoints that are required by repository_nextcloud.
- Parameters
-
- Return values
-
bool | True, if all endpoints exist; false otherwise. |
◆ parse_endpoint_url()
static repository_nextcloud\issuer_management::parse_endpoint_url |
( |
string | $endpointname, |
|
|
core\oauth2\issuer | $issuer ) |
|
static |
Returns the parsed url parts of an endpoint of an issuer.
- Parameters
-
- Return values
-
array | parseurl [scheme => https/http, host=>'hostname', port=>443, path=>'path'] |
- Exceptions
-
configuration_exception | if an endpoint is undefined |
The documentation for this class was generated from the following file:
- repository/nextcloud/classes/issuer_management.php