NAME
Authen::HTTP::Signature::Parser - Parse HTTP signature headers
PURPOSE
This class parses a HTTP signature 'Authorization' header (if one exists) from a request object and populates attributes in a Authen::HTTP::Signature object.
ATTRIBUTES
- request
-
The request to be parsed.
- get_header
-
A call back to get a header from
request
.
- skew
-
Defaults to 300 seconds in either direction from your clock. If the Date header data is outside of this range, the request is considered invalid.
Set this value to 0 to disable skew checks for testing purposes.
METHOD
Errors are fatal.