K
Kirby
Guest
XF\ConnectedAccount\Service\XenForo.php
PHP:
Code:
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
Continue reading...