class Jm81auth::OAuth::Github
Constants
- ACCESS_TOKEN_URL
- DATA_URL
Public Instance Methods
get_access_token()
click to toggle source
# File lib/jm81auth/oauth/github.rb, line 7 def get_access_token response = client.post(ACCESS_TOKEN_URL, @params) Rack::Utils.parse_nested_query(response.body)['access_token'] end