Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to change signature method? #4

Closed
wivaku opened this issue Apr 7, 2015 · 4 comments
Closed

how to change signature method? #4

wivaku opened this issue Apr 7, 2015 · 4 comments

Comments

@wivaku
Copy link

wivaku commented Apr 7, 2015

In Signer.gs I see a reference to signature_method (line 48), how do I set this value (in my case to: PLAINTEXT) when using the library?

@erickoledadevrel
Copy link

The library currently doesn't expose that option, but it should be fairly easy to create a setter and pass it through. Out of curiosity, which API uses PLAINTEXT signatures?

@wivaku
Copy link
Author

wivaku commented Apr 8, 2015

That would be great Erick. The API: http://www.freshbooks.com/developers/authentication

Because all requests must use SSL, only the PLAINTEXT signature method is supported.

@erickoledadevrel
Copy link

I've added support for PLAINTEXT, but unfortunately RSA isn't supported in Apps Script and therefore won't be possible/feasible in this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants