GET /api/auth_source_ldaps
List all authsource ldaps

Parâmentros

Nome parâmetro Descrição
page
opcional

paginar resultados

Validations:

  • Must be String

per_page
opcional

número de entradas por requisições

Validations:

  • Must be String


GET /api/auth_source_ldaps/:id
Show an authsource ldap.

Parâmentros

Nome parâmetro Descrição
id
requerido

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/auth_source_ldaps
Create an auth_source_ldap.

Parâmentros

Nome parâmetro Descrição
auth_source_ldap
requerido

Validations:

  • Must be a Hash

auth_source_ldap[name]
requerido

Validations:

  • Must be String

auth_source_ldap[host]
requerido

Validations:

  • Must be String

auth_source_ldap[port]
opcional

padrão é 389

Validations:

  • Must be a number.

auth_source_ldap[account]
opcional

Validations:

  • Must be String

auth_source_ldap[base_dn]
opcional

Validations:

  • Must be String

auth_source_ldap[account_password]
opcional

Necessário se onthefly_register for verdadeiro

Validations:

  • Must be String

auth_source_ldap[attr_login]
opcional

Necessário se onthefly_register for verdadeiro

Validations:

  • Must be String

auth_source_ldap[attr_firstname]
opcional

Necessário se onthefly_register for verdadeiro

Validations:

  • Must be String

auth_source_ldap[attr_lastname]
opcional

Necessário se onthefly_register for verdadeiro

Validations:

  • Must be String

auth_source_ldap[attr_mail]
opcional

Necessário se onthefly_register for verdadeiro

Validations:

  • Must be String

auth_source_ldap[attr_photo]
opcional

Validations:

  • Must be String

auth_source_ldap[onthefly_register]
opcional

Validations:

  • Must be 'true' or 'false' or '1' or '0'

auth_source_ldap[usergroup_sync]
opcional

sincronizar grupos de usuários externos no login

Validations:

  • Must be 'true' or 'false' or '1' or '0'

auth_source_ldap[tls]
opcional

Validations:

  • Must be 'true' or 'false' or '1' or '0'


PUT /api/auth_source_ldaps/:id
Update an auth_source_ldap.

Parâmentros

Nome parâmetro Descrição
id
requerido

Validations:

  • Must be String

auth_source_ldap
requerido

Validations:

  • Must be a Hash

auth_source_ldap[name]
opcional

Validations:

  • Must be String

auth_source_ldap[host]
opcional

Validations:

  • Must be String

auth_source_ldap[port]
opcional

padrão é 389

Validations:

  • Must be a number.

auth_source_ldap[account]
opcional

Validations:

  • Must be String

auth_source_ldap[base_dn]
opcional

Validations:

  • Must be String

auth_source_ldap[account_password]
opcional

Necessário se onthefly_register for verdadeiro

Validations:

  • Must be String

auth_source_ldap[attr_login]
opcional

Necessário se onthefly_register for verdadeiro

Validations:

  • Must be String

auth_source_ldap[attr_firstname]
opcional

Necessário se onthefly_register for verdadeiro

Validations:

  • Must be String

auth_source_ldap[attr_lastname]
opcional

Necessário se onthefly_register for verdadeiro

Validations:

  • Must be String

auth_source_ldap[attr_mail]
opcional

Necessário se onthefly_register for verdadeiro

Validations:

  • Must be String

auth_source_ldap[attr_photo]
opcional

Validations:

  • Must be String

auth_source_ldap[onthefly_register]
opcional

Validations:

  • Must be 'true' or 'false' or '1' or '0'

auth_source_ldap[usergroup_sync]
opcional

sincronizar grupos de usuários externos no login

Validations:

  • Must be 'true' or 'false' or '1' or '0'

auth_source_ldap[tls]
opcional

Validations:

  • Must be 'true' or 'false' or '1' or '0'


DELETE /api/auth_source_ldaps/:id
Delete an auth_source_ldap.

Parâmentros

Nome parâmetro Descrição
id
requerido

Validations:

  • Must be String