Module: Devise::Models::OauthTokenAuthenticatable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/devise/oauth_token_authenticatable/models/oauth_token_authenticatable.rb
Overview
The OauthTokenAuthenticatable module is responsible for validating an authentication token and returning basic data about the account.
Options
OauthTokenAuthenticatable adds the following options to devise_for:
* +oauth_token_validation_url+: Defines the relative URL path to validate a given Access Token. E.g. /api/getUserInfoByAccessToken
* +oauth_client_id+: Your app ID, as registered with your authentication server.
* +oauth_client_secret+: Your app secret, provided by your authentication server.
* +oauth_client_options+: A hash of options passed to the OAuth2::Client. Should include the 'site' param.
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#after_oauth_token_authentication ⇒ Object
Hook called after oauth token authentication.
Instance Method Details
#after_oauth_token_authentication ⇒ Object
Hook called after oauth token authentication.
24 25 |
# File 'lib/devise/oauth_token_authenticatable/models/oauth_token_authenticatable.rb', line 24 def after_oauth_token_authentication end |