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 = "") #

Class Method Detail

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

def self.nonce : String #

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


def self.parameter_string(parameters : Hash(String, String)) #

def self.signature_base_string(http_method : String, base_url : String, parameter_string : String) : String #

Instance Method Detail

def signature(http_method, base_url, parameters) #

def signature(data : String) : String #

def signing_key : String #