Module: AuthlogicOauth::ActsAsAuthentic::Config

Defined in:
lib/authlogic_oauth/acts_as_authentic.rb

Instance Method Summary collapse

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



26
27
28
# File 'lib/authlogic_oauth/acts_as_authentic.rb', line 26

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



17
18
19
# File 'lib/authlogic_oauth/acts_as_authentic.rb', line 17

def oauth_token_field(value = nil)
  rw_config(:oauth_token_field, value, :oauth_token)
end