XF\ConnectedAccount\Service\XenForo.php
PHP:
Код:
public function getAuthorizationEndpoint(): Uri
{
$provider = $this->getProvider();
$endpoint = new Uri($provider->options['board_url']);
$endpoint->setPath('/oauth2/authorize');
return $endpoint;
}
public function getAccessTokenEndpoint(): Uri
{
$provider = $this->getProvider();
$endpoint = new Uri($provider->options['board_url']);
$endpoint->setPath('/api/oauth2/token');
return $endpoint;
}
This...
Read more
Читать далее...