Module: Puppet::Network::Authorization
- Included in:
- HTTP::API::V1, HTTP::API::V2::Authorization
- Defined in:
- lib/puppet/network/authorization.rb
Instance Method Summary collapse
- #authconfig ⇒ Object
-
#check_authorization(method, path, params) ⇒ Object
Verify that our client has access.
Instance Method Details
#authconfig ⇒ Object
24 25 26 |
# File 'lib/puppet/network/authorization.rb', line 24 def authconfig AuthConfigLoader.authconfig end |
#check_authorization(method, path, params) ⇒ Object
Verify that our client has access.
29 30 31 |
# File 'lib/puppet/network/authorization.rb', line 29 def (method, path, params) authconfig.(method, path, params) end |