Module: SimpleGoogleAuth
- Defined in:
- lib/simple_google_auth.rb,
lib/simple_google_auth/oauth.rb,
lib/simple_google_auth/config.rb,
lib/simple_google_auth/engine.rb,
lib/simple_google_auth/version.rb,
lib/simple_google_auth/receiver.rb,
lib/simple_google_auth/controller.rb,
lib/simple_google_auth/http_client.rb,
lib/simple_google_auth/auth_data_presenter.rb,
lib/simple_google_auth/authorization_uri_builder.rb
Defined Under Namespace
Modules: Controller Classes: AuthDataPresenter, AuthorizationUriBuilder, Config, Engine, HttpClient, OAuth, Receiver
Constant Summary collapse
- Error =
Class.new(StandardError)
- ProviderError =
Class.new(Error)
- NonJsonResponseError =
Class.new(ProviderError)
- VERSION =
"0.3.0"
Class Method Summary collapse
Class Method Details
.configure {|config| ... } ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/simple_google_auth.rb', line 12 def self.configure yield config if config.refresh_stale_tokens config.request_parameters.merge!(access_type: "offline") end end |