Sha256: 148e151232da00a9ffa4af80429e61dc2d60bc9b5762c84755b3e3954ad31c56
Contents?: true
Size: 431 Bytes
Versions: 1
Compression:
Stored size: 431 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://www.googleapis.com/oauth2/v4/token', redirect_uri: callback_url end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
google_sign_in-1.1.2 | app/controllers/google_sign_in/base_controller.rb |