## Class simple_user_service

zeep::http::simple_user_service — A very simple implementation of the user service class.

## Synopsis

    // In header: <zeep/http/security.hpp>

    class simple_user_service : public zeep::http::user_service {
    public:
      // construct/copy/destruct
      simple_user_service(std::initializer_list< std::tuple< std::string, std::string, std::set< std::string >>>);

      // public member functions
      virtual user_details load_user(const std::string &) const;
      void add_user(const std::string &, const std::string &,
                    const std::set< std::string > &);
    };

## Description

This implementation of a user service can be used to jump start a project. Normally you would implement something more robust.

### `simple_user_service` public construct/copy/destruct

1.     simple_user_service(std::initializer_list< std::tuple< std::string, std::string, std::set< std::string >>> users);

### `simple_user_service` public member functions

1.     virtual user_details load_user(const std::string & username) const;

   return the `user_details` for a user named username

2.     void add_user(const std::string & username, const std::string & password,
                     const std::set< std::string > & roles);