Sha256: c0fd9ab94b98c64862a9f1415d92f423c29995d683d3513d9147f3c984bfdf7f
Contents?: true
Size: 387 Bytes
Versions: 2
Compression:
Stored size: 387 Bytes
Contents
module OauthService class Yandex < Provider def get_user_info(info) { :email => info[:default_email], :id => info[:id], :name => info[:display_name] } end def get_info_headers(options = {}) { 'Authorization' => "OAuth #{options[:access_token]}" } end def get_info_params(options = {}) {} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
oauth_service-0.0.2 | app/controllers/concerns/oauth_service/yandex.rb |
oauth_service-0.0.1 | app/controllers/concerns/oauth_service/yandex.rb |