icinga2/lib/remote/apiuser.ti
Michael Friedrich d14a88235d Replace Copyright header with a short version, part I
CLion -> replace in path
2019-02-25 14:48:22 +01:00

32 lines
542 B
Plaintext

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#include "base/configobject.hpp"
#include "base/function.hpp"
library remote;
namespace icinga
{
class ApiUser : ConfigObject
{
/* No show config */
[no_user_view, no_user_modify] String password;
[deprecated, config, no_user_view] String password_hash;
[config] String client_cn (ClientCN);
[config] array(Value) permissions;
};
validator ApiUser {
Array permissions {
String "*";
Dictionary "*" {
required permission;
String permission;
Function filter;
};
};
};
}