mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +00:00
dd51487905
* Add RSA-SHA1 signing to OAuth 1.0 * Add OAuth 1.0 RSA-SHA1 test
6 lines
317 B
JavaScript
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';
|