class

X::OauthAuthenticator

Inherits Reference / Object

Handles OAuth authentication

Constants

OAUTH_ALGORITHM = OpenSSL::Algorithm::SHA1
OAUTH_SIGNATURE_METHOD = "HMAC-SHA1"
OAUTH_VERSION = "1.0"

Constructors

new(api_key : String, api_key_secret : String, access_token : String, access_token_secret : String)
Source

Instance methods

access_token
Source
access_token=(access_token : String)
Source
access_token_secret
Source
access_token_secret=(access_token_secret : String)
Source
api_key
Source
api_key=(api_key : String)
Source
api_key_secret
Source
api_key_secret=(api_key_secret : String)
Source
header(request : HTTP::Request)
Source