src/Bynder/Api/Impl/Oauth/OauthRequestHandler.php
public static function create(Credentials $credentials, $baseUrl, Client $client = null)
    {

        $newOauthHandler = new OauthRequestHandler($credentials, $baseUrl);
        $newOauthHandler->initOauthRequestClient($client);

        return $newOauthHandler;
    }
public static function create(Credentials $credentials, $baseUrl, Client $client = null)
    {

        $newOauthHandler = new OauthRequestHandler($credentials, $baseUrl);
        $newOauthHandler->initOauthRequestClient($client);

        return $newOauthHandler;
    }
public static function create ( Credentials $ credentials , $ baseUrl , Client $ client = null ) { $ newOauthHandler = new OauthRequestHandler ( $ credentials , $ baseUrl ) ; $ newOauthHandler -> initOauthRequestClient ( $ client ) ; return $ newOauthHandler ; }
Creates an instance of OauthRequestHandler using the settings provided.


@param Credentials $credentials The Bynder oauth credentials.
@param string $baseUrl Api base url used for all requests.
@param Client $client Optional client passed for handler creation.

@return OauthRequestHandler An instance of the request handler properly configured.
Creates an instance of OauthRequestHandler using the settings provided .