Class: MAuth::Request

Inherits:
Object
  • Object
show all
Includes:
Signable
Defined in:
lib/mauth/request_and_response.rb

Overview

virtual base class for signable requests

Direct Known Subclasses

Faraday::Request, MAuth::Rack::Request

Constant Summary collapse

SIGNATURE_COMPONENTS =
%i[verb request_url body app_uuid time].freeze
SIGNATURE_COMPONENTS_V2 =
%i[
  verb
  request_url
  body_digest
  app_uuid
  time
  encoded_query_params
].freeze

Method Summary

Methods included from Signable

#attributes_for_signing, #initialize, #normalize_path, #string_to_sign_v1, #string_to_sign_v2, #unescape_encode_query_string, #uri_escape