# Cheatsheets

## LdapAuthenticationOptions

Ldap auth configuration options

Name | Type | Description
`@authenticationMechanism` | `String` | sets the authentication mechanism. default to 'simple' if not set
`@authenticationQuery` | `String` | Set the query to use to authenticate a user. This is used to determine the actual lookup to use when looking up a user with a particular id. An example is `uid={0},ou=users,dc=foo,dc=com` - Note that the element `{0}` is substituted with the user id to create the actual lookup.
`@referral` | `String` | Set the referral property. Default to 'follow' if not set
`@url` | `String` | Set the url to the LDAP server. The url must start with `ldap://` and a port must be specified.