getTokenUrl() 보호된 메소드

Returns the url to request to get OAuth2 access token.
protected getTokenUrl ( string $code ) : string
$code string
리턴 string url to request.
 protected function getTokenUrl($code)
 {
     return parent::getTokenUrl($code) . '&redirect_uri=' . urlencode($this->getState('redirect_uri'));
 }
예제 #2
0
 protected function getTokenUrl($code)
 {
     return parent::getTokenUrl($code) . '&grant_type=authorization_code&redirect_uri=' . urlencode($this->getState('redirect_uri'));
 }