original_string: public static function parse_endpoint_url(string $endpointname, \core\oauth2\issuer $issuer) : array {
          $url = $issuer->get_endpoint_url($endpointname);
          if (empty($url)) {
              throw new configuration_exception(get_string('endpointnotdefined', 'repository_nextcloud', $endpointname));
          }
          return parse_url($url);
      }
code: public static function parse_endpoint_url(string $endpointname, \core\oauth2\issuer $issuer) : array {
          $url = $issuer->get_endpoint_url($endpointname);
          if (empty($url)) {
              throw new configuration_exception(get_string('endpointnotdefined', 'repository_nextcloud', $endpointname));
          }
          return parse_url($url);
      }
code_tokens: public static function parse_endpoint_url ( string $ endpointname , \ core \ oauth2 \ issuer $ issuer ) : array { $ url = $ issuer -> get_endpoint_url ( $ endpointname ) ; if ( empty ( $ url ) ) { throw new configuration_exception ( get_string ( 'endpointnotdefined' , 'repository_nextcloud' , $ endpointname ) ) ; } return parse_url ( $ url ) ; }
docstring: Returns the parsed url parts of an endpoint of an issuer.
  @param string $endpointname
  @param \core\oauth2\issuer $issuer
  @return array parseurl [scheme => https/http, host=>'hostname', port=>443, path=>'path']
  @throws configuration_exception if an endpoint is undefined
docstring_tokens: Returns the parsed url parts of an endpoint of an issuer .