Sha256: d560c39218ce0ee7099529e69318a2987d48ad7cf2f92651e216d6445b7d5940

Contents?: true

Size: 505 Bytes

Versions: 2

Compression:

Stored size: 505 Bytes

Contents

# https://developer.apps.yahoo.com/dashboard/createKey.html
# http://developer.yahoo.com/oauth/guide/oauth-accesstoken.html
class YahooToken < OauthToken
  
  class << self
    def settings
      @settings ||= {
        :site => "https://api.login.yahoo.com",
        :request_token_path => '/oauth/v2/get_request_token',
        :access_token_path  => '/oauth/v2/get_token',
        :authorize_path     => '/oauth/v2/request_auth'
      }
    end
    
    def oauth_version
      2.0
    end
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
authlogic-connect-0.0.2 lib/authlogic_connect/oauth/tokens/yahoo_token.rb
authlogic-connect-0.0.1 lib/authlogic_connect/oauth/tokens/yahoo_token.rb