class SimpleOAuth::Signature

Defined in:

simple_oauth/signature.cr

Constant Summary

SignatureMethod = "HMAC-SHA1"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(consumer_secret : String, token_secret : String = "") #

[View source]

Class Method Detail

def self.escape(params : String) : String #

[View source]
def self.nonce : String #

generate a unique token your application should generate for each unique request


[View source]
def self.parameter_string(parameters : Hash(String, String)) #

[View source]
def self.signature_base_string(http_method : String, base_url : String, parameter_string : String) : String #

[View source]

Instance Method Detail

def signature(http_method, base_url, parameters) #

[View source]
def signature(data : String) : String #

[View source]
def signing_key : String #

[View source]