insomnia/packages/insomnia-app/app/network/o-auth-1/constants.js
c22 dd51487905 Add RSA-SHA1 signing to OAuth 1.0 (#611)
* Add RSA-SHA1 signing to OAuth 1.0

* Add OAuth 1.0 RSA-SHA1 test
2018-01-16 13:06:26 +07:00

6 lines
317 B
JavaScript

// @flow
export type OAuth1SignatureMethod = 'HMAC-SHA1' | 'RSA-SHA1' | 'PLAINTEXT';
export const SIGNATURE_METHOD_HMAC_SHA1: OAuth1SignatureMethod = 'HMAC-SHA1';
export const SIGNATURE_METHOD_RSA_SHA1: OAuth1SignatureMethod = 'RSA-SHA1';
export const SIGNATURE_METHOD_PLAINTEXT: OAuth1SignatureMethod = 'PLAINTEXT';