lib/RakutenRws/Client.php
public function getAuthorizeUrl($scope)
    {
        $url = 'https://app.rakuten.co.jp/services/authorize';
        $parameter = array();
        $parameter = array(
            'response_type' => 'code',
            'client_id'     => $this->developerId,
            'redirect_uri'  => $this->redirectUrl,
            'scope'         => $scope
        );

        return $url.'?'.http_build_query($parameter);
    }
public function getAuthorizeUrl($scope)
    {
        $url = 'https://app.rakuten.co.jp/services/authorize';
        $parameter = array();
        $parameter = array(
            'response_type' => 'code',
            'client_id'     => $this->developerId,
            'redirect_uri'  => $this->redirectUrl,
            'scope'         => $scope
        );

        return $url.'?'.http_build_query($parameter);
    }
public function getAuthorizeUrl ( $ scope ) { $ url = 'https://app.rakuten.co.jp/services/authorize' ; $ parameter = array ( ) ; $ parameter = array ( 'response_type' => 'code' , 'client_id' => $ this -> developerId , 'redirect_uri' => $ this -> redirectUrl , 'scope' => $ scope ) ; return $ url . '?' . http_build_query ( $ parameter ) ; }
Gets OAuth2 Authorize URL

@param string $scope The scopes that is separated by ','
@return string The Authorize URL
Gets OAuth2 Authorize URL