Module: AuthlogicOauth2::ActsAsAuthentic::Config

Defined in:
lib/authlogic_oauth2/acts_as_authentic.rb

Instance Method Summary collapse

Instance Method Details

#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



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

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