Module: AuthlogicOauth2::ActsAsAuthentic::Config

Defined in:
lib/authlogic_oauth2/acts_as_authentic.rb

Instance Method Summary collapse

Instance Method Details

#duplicate_oauth2_token_message(value = nil) ⇒ Object Also known as: duplicate_oauth2_token_message=



20
21
22
# File 'lib/authlogic_oauth2/acts_as_authentic.rb', line 20

def duplicate_oauth2_token_message(value = nil)
  rw_config(:duplicate_oauth2_token_message, value, "You are already signed up. Please log in.")
end

#oauth2_token_field(value = nil) ⇒ Object Also known as: oauth2_token_field=

The name of the oauth2 token field in the database.

  • Default: :oauth2_token

  • Accepts: Symbol



15
16
17
# File 'lib/authlogic_oauth2/acts_as_authentic.rb', line 15

def oauth2_token_field(value = nil)
  rw_config(:oauth2_token_field, value, :oauth2_token)
end