Network.Protocol.OAuth.Signature
Description
Implements PLAINTEXT and HMAC-SHA1 signatures of oauth spec http://oauth.net/core/1.0a#signing_process
Documentation
The signature method which will be used to sign requests.
Constructors
| PLAINTEXT | The |
| HMAC_SHA1 | The |
Functions to sign requests according oauth spec.
Methods
Arguments
| :: a | The signature method to use |
| -> String | The consumer secret |
| -> Maybe String | The token secret |
| -> Request | |
| -> String | The signature |
For a given request, this function is able sign it using the method specified. The full description of this process is described in depth at http://oauth.net/core/1.0a#signing_process.