Method: Authify::API::Helpers::APIUser#remote_app
- Defined in:
- lib/authify/api/helpers/api_user.rb
#remote_app ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/authify/api/helpers/api_user.rb', line 11 def remote_app @remote_app ||= if processed_headers.key?('x_authify_access') access = processed_headers['x_authify_access'] secret = processed_headers['x_authify_secret'] Models::TrustedDelegate.from_access_key(access, secret) end end |