devdefined OAuth IConsumerRequest error
I'm getting this error: 

"For the RSASSA-PKCS1-v1_5 signature method you must use the constructor which takes an additional AssymetricAlgorithm "key" parameter" 

when I try to make a request with my IOAuthSession object.

I assume its referring to IOAuthSession constructor but IOAuthSession doesn't have a "key" parameter in the constructor.

Here's my code:

    IOAuthSession consumerSession = new OAuthSession(consumerContext, requestTokenUrl,     UserAuthoriseUrl, accessTokenUrl);

       IConsumerRequest getOrganisationRequest = consumerSession
                .Request()
                .ForMethod("GET")
                .ForUri(new Uri("https://api.xero.com/api.xro/2.0/Organisation"))
                .SignWithToken(accessToken);

Any Help will be much appretiated.



devdefined OAuth IConsumerRequest error
===

I'm getting this error: 

"For the RSASSA-PKCS1-v1_5 signature method you must use the constructor which takes an additional AssymetricAlgorithm "key" parameter" 

when I try to make a request with my IOAuthSession object.

I assume its referring to IOAuthSession constructor but IOAuthSession doesn't have a "key" parameter in the constructor.

Here's my code:

    IOAuthSession consumerSession = new OAuthSession(consumerContext, requestTokenUrl,     UserAuthoriseUrl, accessTokenUrl);

       IConsumerRequest getOrganisationRequest = consumerSession
                .Request()
                .ForMethod("GET")
                .ForUri(new Uri("https://api.xero.com/api.xro/2.0/Organisation"))
                .SignWithToken(accessToken);

Any Help will be much appretiated.


