Class: OauthToken

Inherits:
AccessToken show all
Includes:
Passport::Oauth::Authorizable, Passport::Oauth::Consumable, Passport::Oauth::Defineable, Passport::Oauth::Queryable, Passport::Oauth::Restful
Defined in:
lib/passport/oauth/oauth_token.rb

Overview

protocol = Protocol.new(twitter_client, app_key, app_secret) protocol.authorize(“localhost:3000/authenticate”) #=> hash protocol.access #=> hash

Instance Attribute Summary

Attributes inherited from AccessToken

#key, #secret, #token

Method Summary

Methods included from Passport::Oauth::Queryable

included

Methods included from Passport::Oauth::Restful

included

Methods included from Passport::Oauth::Authorizable

included

Methods included from Passport::Oauth::Consumable

included

Methods included from Passport::Oauth::Defineable

included

Methods inherited from AccessToken

#initialize, #to_hash

Constructor Details

This class inherits a constructor from AccessToken