Class Mixlib::Authentication::SignatureVerification
In: lib/mixlib/authentication/signatureverification.rb
Parent: Object

Methods

Included Modules

Mixlib::Authentication::SignedHeaderAuth

Attributes

hashed_body  [R] 
http_method  [R] 
path  [R] 
timestamp  [R] 
user_id  [R] 

Public Instance methods

Takes the request, boils down the pieces we are interested in, looks up the user, generates a signature, and compares to the signature in the request

Headers

X-Ops-Sign: algorithm=sha256;version=1.0; X-Ops-UserId: <user_id> X-Ops-Timestamp: X-Ops-Content-Hash: X-Ops-Authorization-#{line_number}

[Validate]