insomnia/packages/insomnia-app/app/network/o-auth-1/constants.js

7 lines
415 B
JavaScript
Raw Normal View History

2017-11-06 20:44:55 +00:00
// @flow
2018-10-17 16:42:33 +00:00
export type OAuth1SignatureMethod = 'HMAC-SHA1' | 'RSA-SHA1' | 'HMAC-SHA256' | 'PLAINTEXT';
2017-11-06 20:44:55 +00:00
export const SIGNATURE_METHOD_HMAC_SHA1: OAuth1SignatureMethod = 'HMAC-SHA1';
2018-10-17 16:42:33 +00:00
export const SIGNATURE_METHOD_HMAC_SHA256: OAuth1SignatureMethod = 'HMAC-SHA256';
export const SIGNATURE_METHOD_RSA_SHA1: OAuth1SignatureMethod = 'RSA-SHA1';
2017-11-06 20:44:55 +00:00
export const SIGNATURE_METHOD_PLAINTEXT: OAuth1SignatureMethod = 'PLAINTEXT';