Sha256: 750424c44294e2255a76945e366a0496ecf2535897466fbf7001a7eb455f1920
Contents?: true
Size: 710 Bytes
Versions: 2
Compression:
Stored size: 710 Bytes
Contents
require 'omniauth-oauth' require 'multi_json' module OmniAuth module Strategies class Flickr < OmniAuth::Strategies::OAuth option :name, 'flickr' option :client_options, { :access_token_path => "/services/oauth/access_token", :authorize_path => "/services/oauth/authorize", :request_token_path => "/services/oauth/request_token", :site => "http://www.flickr.com" } uid { access_token.params['user_nsid'] } info do { :username => access_token.params['username'], :full_name => access_token.params['fullname'] } end extra do {} end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
omniauth-flickr-0.0.2 | lib/omniauth/strategies/flickr.rb |
omniauth-flickr-0.0.1 | lib/omniauth/strategies/flickr.rb |