src/Helper/OAuthHelper.php
public static function getAuthorizationUrl(OAuthInterface $params)
    {
        $oauthBaseUrl = Nosto::getOAuthBaseUrl();

        return HttpRequest::buildUri(
            $oauthBaseUrl . self::PATH_AUTH,
            array(
                '{cid}' => $params->getClientId(),
                '{uri}' => $params->getRedirectUrl(),
                '{sco}' => implode(' ', $params->getScopes()),
                '{iso}' => strtolower($params->getLanguageIsoCode()),
            )
        );
    }
public static function getAuthorizationUrl(OAuthInterface $params)
    {
        $oauthBaseUrl = Nosto::getOAuthBaseUrl();

        return HttpRequest::buildUri(
            $oauthBaseUrl . self::PATH_AUTH,
            array(
                '{cid}' => $params->getClientId(),
                '{uri}' => $params->getRedirectUrl(),
                '{sco}' => implode(' ', $params->getScopes()),
                '{iso}' => strtolower($params->getLanguageIsoCode()),
            )
        );
    }
public static function getAuthorizationUrl ( OAuthInterface $ params ) { $ oauthBaseUrl = Nosto :: getOAuthBaseUrl ( ) ; return HttpRequest :: buildUri ( $ oauthBaseUrl . self :: PATH_AUTH , array ( '{cid}' => $ params -> getClientId ( ) , '{uri}' => $ params -> getRedirectUrl ( ) , '{sco}' => implode ( ' ' , $ params -> getScopes ( ) ) , '{iso}' => strtolower ( $ params -> getLanguageIsoCode ( ) ) , ) ) ; }
Returns the authorize url to the oauth2 server.

@param OAuthInterface $params
@return string the url.
Returns the authorize url to the oauth2 server .