AuthSettingsRequest Data Type

The class is used to save settings used in authorization purpose with vProtect.

Properties
name data type constraints description
authLdapEnabled boolean required
authLdapUrl string  
authLdapBaseDn string  
authLdapUserFilter string  
authLdapUseTls boolean required
authLdapUseSsl boolean required
authLdapAnonymousAccessAllowed boolean required
authLdapBindDn string  
authLdapBindPassword string  
authLdapSubtreeSearchEnabled boolean required
authLdapGroups array of NameAndGuid  
keycloakEnabled boolean required
keycloakServerUrl string  
keycloakRealm string  
keycloakResource string  
keycloakSecret string  
keycloakServiceUser string  
keycloakServicePassword string  
keycloakCert string  
keycloakGroups array of NameAndGuid  

Example

{
  "authLdapEnabled" : true,
  "authLdapUrl" : "...",
  "authLdapBaseDn" : "...",
  "authLdapUserFilter" : "...",
  "authLdapUseTls" : true,
  "authLdapUseSsl" : true,
  "authLdapAnonymousAccessAllowed" : true,
  "authLdapBindDn" : "...",
  "authLdapBindPassword" : "...",
  "authLdapSubtreeSearchEnabled" : true,
  "authLdapGroups" : [ {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  }, {
    "guid" : "...",
    "name" : "..."
  } ],
  "keycloakEnabled" : true,
  "keycloakServerUrl" : "...",
  "keycloakRealm" : "...",
  "keycloakResource" : "...",
  "keycloakSecret" : "...",
  "keycloakServiceUser" : "...",
  "keycloakServicePassword" : "...",
  "keycloakCert" : "...",
  "keycloakGroups" : [ {
    "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
    "name" : "Entity name"
  }, {
    "guid" : "...",
    "name" : "..."
  } ]
}