Module: AuthProvider::ApplicationHelper
- Defined in:
- app/helpers/auth_provider/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#authenticated_resource_owner ⇒ Object
3 4 5 6 7 8 |
# File 'app/helpers/auth_provider/application_helper.rb', line 3 def authenticated_resource_owner access_token = request.headers[:Authorization] return unless access_token access_token = access_token.split(' ').last AuthProvider.resource_owner_from_token(access_token) end |