Sha256: b97fb8b7cb0690539766beef7abf51657afe40f6e434d0cef6dadd3f2bc125bb
Contents?: true
Size: 542 Bytes
Versions: 43
Compression:
Stored size: 542 Bytes
Contents
require 'puppet/network/client_request' require 'puppet/network/rest_authconfig' module Puppet::Network module RestAuthorization # Create our config object if necessary. If there's no configuration file # we install our defaults def authconfig @authconfig ||= Puppet::Network::RestAuthConfig.main @authconfig end # Verify that our client has access. def check_authorization(indirection, method, key, params) authconfig.check_authorization(indirection, method, key, params) end end end
Version data entries
43 entries across 43 versions & 4 rubygems