Class: SimpleGoogleAuth::Config
- Inherits:
-
Struct
- Object
- Struct
- SimpleGoogleAuth::Config
- Defined in:
- lib/simple_google_auth.rb
Instance Attribute Summary collapse
-
#authenticate ⇒ Object
Returns the value of attribute authenticate.
-
#ca_path ⇒ Object
Returns the value of attribute ca_path.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#data_session_key_name ⇒ Object
Returns the value of attribute data_session_key_name.
-
#failed_login_path ⇒ Object
Returns the value of attribute failed_login_path.
-
#google_auth_url ⇒ Object
Returns the value of attribute google_auth_url.
-
#google_token_url ⇒ Object
Returns the value of attribute google_token_url.
-
#redirect_path ⇒ Object
Returns the value of attribute redirect_path.
-
#redirect_uri ⇒ Object
Returns the value of attribute redirect_uri.
-
#refresh_stale_tokens ⇒ Object
Returns the value of attribute refresh_stale_tokens.
-
#request_parameters ⇒ Object
Returns the value of attribute request_parameters.
-
#state_session_key_name ⇒ Object
Returns the value of attribute state_session_key_name.
Instance Method Summary collapse
Instance Attribute Details
#authenticate ⇒ Object
Returns the value of attribute authenticate
4 5 6 |
# File 'lib/simple_google_auth.rb', line 4 def authenticate @authenticate end |
#ca_path ⇒ Object
Returns the value of attribute ca_path
4 5 6 |
# File 'lib/simple_google_auth.rb', line 4 def ca_path @ca_path end |
#client_id ⇒ Object
Returns the value of attribute client_id
4 5 6 |
# File 'lib/simple_google_auth.rb', line 4 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret
4 5 6 |
# File 'lib/simple_google_auth.rb', line 4 def client_secret @client_secret end |
#data_session_key_name ⇒ Object
Returns the value of attribute data_session_key_name
4 5 6 |
# File 'lib/simple_google_auth.rb', line 4 def data_session_key_name @data_session_key_name end |
#failed_login_path ⇒ Object
Returns the value of attribute failed_login_path
4 5 6 |
# File 'lib/simple_google_auth.rb', line 4 def failed_login_path @failed_login_path end |
#google_auth_url ⇒ Object
Returns the value of attribute google_auth_url
4 5 6 |
# File 'lib/simple_google_auth.rb', line 4 def google_auth_url @google_auth_url end |
#google_token_url ⇒ Object
Returns the value of attribute google_token_url
4 5 6 |
# File 'lib/simple_google_auth.rb', line 4 def google_token_url @google_token_url end |
#redirect_path ⇒ Object
Returns the value of attribute redirect_path
4 5 6 |
# File 'lib/simple_google_auth.rb', line 4 def redirect_path @redirect_path end |
#redirect_uri ⇒ Object
Returns the value of attribute redirect_uri
4 5 6 |
# File 'lib/simple_google_auth.rb', line 4 def redirect_uri @redirect_uri end |
#refresh_stale_tokens ⇒ Object
Returns the value of attribute refresh_stale_tokens
4 5 6 |
# File 'lib/simple_google_auth.rb', line 4 def refresh_stale_tokens @refresh_stale_tokens end |
#request_parameters ⇒ Object
Returns the value of attribute request_parameters
4 5 6 |
# File 'lib/simple_google_auth.rb', line 4 def request_parameters @request_parameters end |
#state_session_key_name ⇒ Object
Returns the value of attribute state_session_key_name
4 5 6 |
# File 'lib/simple_google_auth.rb', line 4 def state_session_key_name @state_session_key_name end |
Instance Method Details
#get_or_call(attribute) ⇒ Object
19 20 21 22 |
# File 'lib/simple_google_auth.rb', line 19 def get_or_call(attribute) value = send(attribute) value.respond_to?(:call) ? value.call : value end |