class

EasyOAuth::Header

Inherits Reference < Object

Constants

ATTRIBUTE_KEYS = ["callback", "consumer_key", "nonce", "signature_method", "timestamp", "token", "verifier", "version"]
IGNORED_KEYS = ["consumer_secret", "token_secret", "signature"]

Constructors

new(method, url, params : Hash(String, String), oauth = {} of String => String)
Source

Class methods

default_options
Source
escape(value)
Source
parse(header)
Source
unescape(value)
Source

Instance methods

attributes
Source
hmac_sha1_signature
Source
method
Source
normalized_attributes(attrs = signed_attributes)
Source
normalized_params
Source
options
Source
params
Source
plaintext_signature
Source
secret
Source
signature
Source
signature_base
Source
signature_params
Source
signed_attributes(attrs = attributes)
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
url_params
Source
valid?(secrets = {} of String => String)
Source