Name | Type | Description | Notes |
---|---|---|---|
Name | string | Source's display Name. | |
Slug | string | Internal source name, used in URLs. | |
Enabled | Pointer to bool | [optional] | |
AuthenticationFlow | Pointer to NullableString | Flow to use when authenticating existing users. | [optional] |
EnrollmentFlow | Pointer to NullableString | Flow to use when enrolling new users. | [optional] |
UserPropertyMappings | Pointer to []string | [optional] | |
GroupPropertyMappings | Pointer to []string | [optional] | |
PolicyEngineMode | Pointer to PolicyEngineMode | [optional] | |
UserMatchingMode | Pointer to UserMatchingModeEnum | How the source determines if an existing user should be authenticated or a new user enrolled. | [optional] |
UserPathTemplate | Pointer to string | [optional] | |
ServerUri | string | ||
PeerCertificate | Pointer to NullableString | Optionally verify the LDAP Server's Certificate against the CA Chain in this keypair. | [optional] |
ClientCertificate | Pointer to NullableString | Client certificate to authenticate against the LDAP Server's Certificate. | [optional] |
BindCn | Pointer to string | [optional] | |
BindPassword | Pointer to string | [optional] | |
StartTls | Pointer to bool | [optional] | |
Sni | Pointer to bool | [optional] | |
BaseDn | string | ||
AdditionalUserDn | Pointer to string | Prepended to Base DN for User-queries. | [optional] |
AdditionalGroupDn | Pointer to string | Prepended to Base DN for Group-queries. | [optional] |
UserObjectFilter | Pointer to string | Consider Objects matching this filter to be Users. | [optional] |
GroupObjectFilter | Pointer to string | Consider Objects matching this filter to be Groups. | [optional] |
GroupMembershipField | Pointer to string | Field which contains members of a group. | [optional] |
ObjectUniquenessField | Pointer to string | Field which contains a unique Identifier. | [optional] |
PasswordLoginUpdateInternalPassword | Pointer to bool | Update internal authentik password when login succeeds with LDAP | [optional] |
SyncUsers | Pointer to bool | [optional] | |
SyncUsersPassword | Pointer to bool | When a user changes their password, sync it back to LDAP. This can only be enabled on a single LDAP source. | [optional] |
SyncGroups | Pointer to bool | [optional] | |
SyncParentGroup | Pointer to NullableString | [optional] |
func NewLDAPSourceRequest(name string, slug string, serverUri string, baseDn string, ) *LDAPSourceRequest
NewLDAPSourceRequest instantiates a new LDAPSourceRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLDAPSourceRequestWithDefaults() *LDAPSourceRequest
NewLDAPSourceRequestWithDefaults instantiates a new LDAPSourceRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *LDAPSourceRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetName(v string)
SetName sets Name field to given value.
func (o *LDAPSourceRequest) GetSlug() string
GetSlug returns the Slug field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetSlug(v string)
SetSlug sets Slug field to given value.
func (o *LDAPSourceRequest) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *LDAPSourceRequest) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetAuthenticationFlow() string
GetAuthenticationFlow returns the AuthenticationFlow field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetAuthenticationFlowOk() (*string, bool)
GetAuthenticationFlowOk returns a tuple with the AuthenticationFlow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetAuthenticationFlow(v string)
SetAuthenticationFlow sets AuthenticationFlow field to given value.
func (o *LDAPSourceRequest) HasAuthenticationFlow() bool
HasAuthenticationFlow returns a boolean if a field has been set.
func (o *LDAPSourceRequest) SetAuthenticationFlowNil(b bool)
SetAuthenticationFlowNil sets the value for AuthenticationFlow to be an explicit nil
func (o *LDAPSourceRequest) UnsetAuthenticationFlow()
UnsetAuthenticationFlow ensures that no value is present for AuthenticationFlow, not even an explicit nil
func (o *LDAPSourceRequest) GetEnrollmentFlow() string
GetEnrollmentFlow returns the EnrollmentFlow field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetEnrollmentFlowOk() (*string, bool)
GetEnrollmentFlowOk returns a tuple with the EnrollmentFlow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetEnrollmentFlow(v string)
SetEnrollmentFlow sets EnrollmentFlow field to given value.
func (o *LDAPSourceRequest) HasEnrollmentFlow() bool
HasEnrollmentFlow returns a boolean if a field has been set.
func (o *LDAPSourceRequest) SetEnrollmentFlowNil(b bool)
SetEnrollmentFlowNil sets the value for EnrollmentFlow to be an explicit nil
func (o *LDAPSourceRequest) UnsetEnrollmentFlow()
UnsetEnrollmentFlow ensures that no value is present for EnrollmentFlow, not even an explicit nil
func (o *LDAPSourceRequest) GetUserPropertyMappings() []string
GetUserPropertyMappings returns the UserPropertyMappings field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetUserPropertyMappingsOk() (*[]string, bool)
GetUserPropertyMappingsOk returns a tuple with the UserPropertyMappings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetUserPropertyMappings(v []string)
SetUserPropertyMappings sets UserPropertyMappings field to given value.
func (o *LDAPSourceRequest) HasUserPropertyMappings() bool
HasUserPropertyMappings returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetGroupPropertyMappings() []string
GetGroupPropertyMappings returns the GroupPropertyMappings field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetGroupPropertyMappingsOk() (*[]string, bool)
GetGroupPropertyMappingsOk returns a tuple with the GroupPropertyMappings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetGroupPropertyMappings(v []string)
SetGroupPropertyMappings sets GroupPropertyMappings field to given value.
func (o *LDAPSourceRequest) HasGroupPropertyMappings() bool
HasGroupPropertyMappings returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetPolicyEngineMode() PolicyEngineMode
GetPolicyEngineMode returns the PolicyEngineMode field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetPolicyEngineModeOk() (*PolicyEngineMode, bool)
GetPolicyEngineModeOk returns a tuple with the PolicyEngineMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetPolicyEngineMode(v PolicyEngineMode)
SetPolicyEngineMode sets PolicyEngineMode field to given value.
func (o *LDAPSourceRequest) HasPolicyEngineMode() bool
HasPolicyEngineMode returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetUserMatchingMode() UserMatchingModeEnum
GetUserMatchingMode returns the UserMatchingMode field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetUserMatchingModeOk() (*UserMatchingModeEnum, bool)
GetUserMatchingModeOk returns a tuple with the UserMatchingMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetUserMatchingMode(v UserMatchingModeEnum)
SetUserMatchingMode sets UserMatchingMode field to given value.
func (o *LDAPSourceRequest) HasUserMatchingMode() bool
HasUserMatchingMode returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetUserPathTemplate() string
GetUserPathTemplate returns the UserPathTemplate field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetUserPathTemplateOk() (*string, bool)
GetUserPathTemplateOk returns a tuple with the UserPathTemplate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetUserPathTemplate(v string)
SetUserPathTemplate sets UserPathTemplate field to given value.
func (o *LDAPSourceRequest) HasUserPathTemplate() bool
HasUserPathTemplate returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetServerUri() string
GetServerUri returns the ServerUri field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetServerUriOk() (*string, bool)
GetServerUriOk returns a tuple with the ServerUri field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetServerUri(v string)
SetServerUri sets ServerUri field to given value.
func (o *LDAPSourceRequest) GetPeerCertificate() string
GetPeerCertificate returns the PeerCertificate field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetPeerCertificateOk() (*string, bool)
GetPeerCertificateOk returns a tuple with the PeerCertificate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetPeerCertificate(v string)
SetPeerCertificate sets PeerCertificate field to given value.
func (o *LDAPSourceRequest) HasPeerCertificate() bool
HasPeerCertificate returns a boolean if a field has been set.
func (o *LDAPSourceRequest) SetPeerCertificateNil(b bool)
SetPeerCertificateNil sets the value for PeerCertificate to be an explicit nil
func (o *LDAPSourceRequest) UnsetPeerCertificate()
UnsetPeerCertificate ensures that no value is present for PeerCertificate, not even an explicit nil
func (o *LDAPSourceRequest) GetClientCertificate() string
GetClientCertificate returns the ClientCertificate field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetClientCertificateOk() (*string, bool)
GetClientCertificateOk returns a tuple with the ClientCertificate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetClientCertificate(v string)
SetClientCertificate sets ClientCertificate field to given value.
func (o *LDAPSourceRequest) HasClientCertificate() bool
HasClientCertificate returns a boolean if a field has been set.
func (o *LDAPSourceRequest) SetClientCertificateNil(b bool)
SetClientCertificateNil sets the value for ClientCertificate to be an explicit nil
func (o *LDAPSourceRequest) UnsetClientCertificate()
UnsetClientCertificate ensures that no value is present for ClientCertificate, not even an explicit nil
func (o *LDAPSourceRequest) GetBindCn() string
GetBindCn returns the BindCn field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetBindCnOk() (*string, bool)
GetBindCnOk returns a tuple with the BindCn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetBindCn(v string)
SetBindCn sets BindCn field to given value.
func (o *LDAPSourceRequest) HasBindCn() bool
HasBindCn returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetBindPassword() string
GetBindPassword returns the BindPassword field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetBindPasswordOk() (*string, bool)
GetBindPasswordOk returns a tuple with the BindPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetBindPassword(v string)
SetBindPassword sets BindPassword field to given value.
func (o *LDAPSourceRequest) HasBindPassword() bool
HasBindPassword returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetStartTls() bool
GetStartTls returns the StartTls field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetStartTlsOk() (*bool, bool)
GetStartTlsOk returns a tuple with the StartTls field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetStartTls(v bool)
SetStartTls sets StartTls field to given value.
func (o *LDAPSourceRequest) HasStartTls() bool
HasStartTls returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetSni() bool
GetSni returns the Sni field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetSniOk() (*bool, bool)
GetSniOk returns a tuple with the Sni field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetSni(v bool)
SetSni sets Sni field to given value.
func (o *LDAPSourceRequest) HasSni() bool
HasSni returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetBaseDn() string
GetBaseDn returns the BaseDn field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetBaseDnOk() (*string, bool)
GetBaseDnOk returns a tuple with the BaseDn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetBaseDn(v string)
SetBaseDn sets BaseDn field to given value.
func (o *LDAPSourceRequest) GetAdditionalUserDn() string
GetAdditionalUserDn returns the AdditionalUserDn field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetAdditionalUserDnOk() (*string, bool)
GetAdditionalUserDnOk returns a tuple with the AdditionalUserDn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetAdditionalUserDn(v string)
SetAdditionalUserDn sets AdditionalUserDn field to given value.
func (o *LDAPSourceRequest) HasAdditionalUserDn() bool
HasAdditionalUserDn returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetAdditionalGroupDn() string
GetAdditionalGroupDn returns the AdditionalGroupDn field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetAdditionalGroupDnOk() (*string, bool)
GetAdditionalGroupDnOk returns a tuple with the AdditionalGroupDn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetAdditionalGroupDn(v string)
SetAdditionalGroupDn sets AdditionalGroupDn field to given value.
func (o *LDAPSourceRequest) HasAdditionalGroupDn() bool
HasAdditionalGroupDn returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetUserObjectFilter() string
GetUserObjectFilter returns the UserObjectFilter field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetUserObjectFilterOk() (*string, bool)
GetUserObjectFilterOk returns a tuple with the UserObjectFilter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetUserObjectFilter(v string)
SetUserObjectFilter sets UserObjectFilter field to given value.
func (o *LDAPSourceRequest) HasUserObjectFilter() bool
HasUserObjectFilter returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetGroupObjectFilter() string
GetGroupObjectFilter returns the GroupObjectFilter field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetGroupObjectFilterOk() (*string, bool)
GetGroupObjectFilterOk returns a tuple with the GroupObjectFilter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetGroupObjectFilter(v string)
SetGroupObjectFilter sets GroupObjectFilter field to given value.
func (o *LDAPSourceRequest) HasGroupObjectFilter() bool
HasGroupObjectFilter returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetGroupMembershipField() string
GetGroupMembershipField returns the GroupMembershipField field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetGroupMembershipFieldOk() (*string, bool)
GetGroupMembershipFieldOk returns a tuple with the GroupMembershipField field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetGroupMembershipField(v string)
SetGroupMembershipField sets GroupMembershipField field to given value.
func (o *LDAPSourceRequest) HasGroupMembershipField() bool
HasGroupMembershipField returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetObjectUniquenessField() string
GetObjectUniquenessField returns the ObjectUniquenessField field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetObjectUniquenessFieldOk() (*string, bool)
GetObjectUniquenessFieldOk returns a tuple with the ObjectUniquenessField field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetObjectUniquenessField(v string)
SetObjectUniquenessField sets ObjectUniquenessField field to given value.
func (o *LDAPSourceRequest) HasObjectUniquenessField() bool
HasObjectUniquenessField returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetPasswordLoginUpdateInternalPassword() bool
GetPasswordLoginUpdateInternalPassword returns the PasswordLoginUpdateInternalPassword field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetPasswordLoginUpdateInternalPasswordOk() (*bool, bool)
GetPasswordLoginUpdateInternalPasswordOk returns a tuple with the PasswordLoginUpdateInternalPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetPasswordLoginUpdateInternalPassword(v bool)
SetPasswordLoginUpdateInternalPassword sets PasswordLoginUpdateInternalPassword field to given value.
func (o *LDAPSourceRequest) HasPasswordLoginUpdateInternalPassword() bool
HasPasswordLoginUpdateInternalPassword returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetSyncUsers() bool
GetSyncUsers returns the SyncUsers field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetSyncUsersOk() (*bool, bool)
GetSyncUsersOk returns a tuple with the SyncUsers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetSyncUsers(v bool)
SetSyncUsers sets SyncUsers field to given value.
func (o *LDAPSourceRequest) HasSyncUsers() bool
HasSyncUsers returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetSyncUsersPassword() bool
GetSyncUsersPassword returns the SyncUsersPassword field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetSyncUsersPasswordOk() (*bool, bool)
GetSyncUsersPasswordOk returns a tuple with the SyncUsersPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetSyncUsersPassword(v bool)
SetSyncUsersPassword sets SyncUsersPassword field to given value.
func (o *LDAPSourceRequest) HasSyncUsersPassword() bool
HasSyncUsersPassword returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetSyncGroups() bool
GetSyncGroups returns the SyncGroups field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetSyncGroupsOk() (*bool, bool)
GetSyncGroupsOk returns a tuple with the SyncGroups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetSyncGroups(v bool)
SetSyncGroups sets SyncGroups field to given value.
func (o *LDAPSourceRequest) HasSyncGroups() bool
HasSyncGroups returns a boolean if a field has been set.
func (o *LDAPSourceRequest) GetSyncParentGroup() string
GetSyncParentGroup returns the SyncParentGroup field if non-nil, zero value otherwise.
func (o *LDAPSourceRequest) GetSyncParentGroupOk() (*string, bool)
GetSyncParentGroupOk returns a tuple with the SyncParentGroup field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *LDAPSourceRequest) SetSyncParentGroup(v string)
SetSyncParentGroup sets SyncParentGroup field to given value.
func (o *LDAPSourceRequest) HasSyncParentGroup() bool
HasSyncParentGroup returns a boolean if a field has been set.
func (o *LDAPSourceRequest) SetSyncParentGroupNil(b bool)
SetSyncParentGroupNil sets the value for SyncParentGroup to be an explicit nil
func (o *LDAPSourceRequest) UnsetSyncParentGroup()
UnsetSyncParentGroup ensures that no value is present for SyncParentGroup, not even an explicit nil