Class: FacebookToken

Inherits:
OauthToken show all
Defined in:
lib/authlogic_connect/oauth/tokens/facebook_token.rb

Overview

Class Method Summary collapse

Methods inherited from OauthToken

#client, #consumer, consumer, #get, get_access_token, get_request_token, #oauth_version, request_token, #simple_client

Methods inherited from Token

#client, client, #consumer, consumer, #get, #service_name, service_name

Class Method Details

.oauth_versionObject



15
16
17
# File 'lib/authlogic_connect/oauth/tokens/facebook_token.rb', line 15

def oauth_version
  2.0
end

.settingsObject



6
7
8
9
10
11
12
13
# File 'lib/authlogic_connect/oauth/tokens/facebook_token.rb', line 6

def settings
  @settings ||= {
    :site => "https://graph.facebook.com",
    :authorize_url => "https://graph.facebook.com/oauth/authorize",
    :oauth_version => "2.0",
    :scope => "email, offline_access"
  }
end