class X::OauthAuthenticator
- X::OauthAuthenticator
- Reference
- Object
Overview
Handles OAuth authentication
Defined in:
x/oauth_authenticator.crConstant Summary
-
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)
Instance Method Summary
- #access_token : String
- #access_token=(access_token : String)
- #access_token_secret : String
- #access_token_secret=(access_token_secret : String)
- #api_key : String
- #api_key=(api_key : String)
- #api_key_secret : String
- #api_key_secret=(api_key_secret : String)
- #header(request : HTTP::Request)
Constructor Detail
def self.new(api_key : String, api_key_secret : String, access_token : String, access_token_secret : String)
#