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';
|
2018-01-16 06:06:26 +00:00
|
|
|
export const SIGNATURE_METHOD_RSA_SHA1: OAuth1SignatureMethod = 'RSA-SHA1';
|
2017-11-06 20:44:55 +00:00
|
|
|
export const SIGNATURE_METHOD_PLAINTEXT: OAuth1SignatureMethod = 'PLAINTEXT';
|