Module: AuthlogicOauth::ActsAsAuthentic::Config
- Defined in:
- lib/authlogic_oauth/acts_as_authentic.rb
Instance Method Summary collapse
-
#oauth_secret_field(value = nil) ⇒ Object
(also: #oauth_secret_field=)
The name of the oauth token secret field in the database.
-
#oauth_token_field(value = nil) ⇒ Object
(also: #oauth_token_field=)
The name of the oauth token field in the database.
Instance Method Details
#oauth_secret_field(value = nil) ⇒ Object Also known as: oauth_secret_field=
The name of the oauth token secret field in the database.
-
Default:
:oauth_secret -
Accepts:
Symbol
24 25 26 |
# File 'lib/authlogic_oauth/acts_as_authentic.rb', line 24 def oauth_secret_field(value = nil) rw_config(:oauth_secret_field, value, :oauth_secret) end |
#oauth_token_field(value = nil) ⇒ Object Also known as: oauth_token_field=
The name of the oauth token field in the database.
-
Default:
:oauth_token -
Accepts:
Symbol
15 16 17 |
# File 'lib/authlogic_oauth/acts_as_authentic.rb', line 15 def oauth_token_field(value = nil) rw_config(:oauth_token_field, value, :oauth_token) end |