public function getOAuthClient($client_id, $client_secret, $redirect_uri)
    {
        $options = [
            'clientId' => $client_id,
            'clientSecret' => $client_secret,
            'redirectUri' => $redirect_uri
        ];
        $OAuthClient = new OAuth($options);

        return $OAuthClient;
    }
public function getOAuthClient($client_id, $client_secret, $redirect_uri)
    {
        $options = [
            'clientId' => $client_id,
            'clientSecret' => $client_secret,
            'redirectUri' => $redirect_uri
        ];
        $OAuthClient = new OAuth($options);

        return $OAuthClient;
    }
public function getOAuthClient ( $ client_id , $ client_secret , $ redirect_uri ) { $ options = [ 'clientId' => $ client_id , 'clientSecret' => $ client_secret , 'redirectUri' => $ redirect_uri ] ; $ OAuthClient = new OAuth ( $ options ) ; return $ OAuthClient ; }
Return a new instance of the OAuth Client

@param string $client_id
@param string $client_secret
@param string $redirect_uri
@return OAuth
Return a new instance of the OAuth Client