Sha256: a8f9d2aa9b6db19fde7a6e8e71ef1dfe2ae4e45a6a5d62d3c842ea9d504d1424
Contents?: true
Size: 424 Bytes
Versions: 2
Compression:
Stored size: 424 Bytes
Contents
require 'oauth2' class GoogleSignIn::BaseController < ActionController::Base protect_from_forgery with: :exception private def client @client ||= OAuth2::Client.new \ GoogleSignIn.client_id, GoogleSignIn.client_secret, authorize_url: 'https://accounts.google.com/o/oauth2/auth', token_url: 'https://oauth2.googleapis.com/token', redirect_uri: callback_url end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
google_sign_in-1.2.1 | app/controllers/google_sign_in/base_controller.rb |
google_sign_in-1.2.0 | app/controllers/google_sign_in/base_controller.rb |