Method: ChefAPI::Resource::User.authenticate
- Defined in:
- lib/chef-api/resources/user.rb
.authenticate(options = {}) ⇒ Hash
Note:
Requires Enterprise Chef
Authenticate a user with the given username
and password
.
77 78 79 |
# File 'lib/chef-api/resources/user.rb', line 77 def authenticate( = {}) connection.post('/authenticate_user', .to_json) end |