// Convert_v1_DenyAllPasswordIdentityProvider_To_config_DenyAllPasswordIdentityProvider is an autogenerated conversion function.
771222
func Convert_v1_DenyAllPasswordIdentityProvider_To_config_DenyAllPasswordIdentityProvider(in *v1.DenyAllPasswordIdentityProvider, out *config.DenyAllPasswordIdentityProvider, s conversion.Scope) error {
	return autoConvert_v1_DenyAllPasswordIdentityProvider_To_config_DenyAllPasswordIdentityProvider(in, out, s)
}
561865
func Convert_v1_ProviderConfiguration_To_config_ProviderConfiguration(in *ProviderConfiguration, out *config.ProviderConfiguration, s conversion.Scope) error {
	return autoConvert_v1_ProviderConfiguration_To_config_ProviderConfiguration(in, out, s)
}
728276
func NewDNSProviderConfig(config *Config) (*DNSProvider, error) {
	if config.SecretKey == "" || config.AccessKey == "" || config.DoServiceCode == "" {
		return nil, fmt.Errorf("iij: credentials missing")
	}

	return &DNSProvider{
		api:    doapi.NewAPI(config.AccessKey, config.SecretKey),
		config: config,
	}, nil
}
556722
func NewDenyAccessAuthenticator() osinserver.AccessHandler {
	return &accessAuthenticator{password: deny, assertion: deny, client: deny}
}
1184193
func Convert_config_EncryptionConfiguration_To_v1_EncryptionConfiguration(in *config.EncryptionConfiguration, out *EncryptionConfiguration, s conversion.Scope) error {
	return autoConvert_config_EncryptionConfiguration_To_v1_EncryptionConfiguration(in, out, s)
}
348041
func Convert_security_RangeAllocationList_To_v1_RangeAllocationList(in *security.RangeAllocationList, out *v1.RangeAllocationList, s conversion.Scope) error {
	return autoConvert_security_RangeAllocationList_To_v1_RangeAllocationList(in, out, s)
}
145989
func Convert_v1_RangeAllocation_To_security_RangeAllocation(in *v1.RangeAllocation, out *security.RangeAllocation, s conversion.Scope) error {
	return autoConvert_v1_RangeAllocation_To_security_RangeAllocation(in, out, s)
}
211342
func Convert_user_Identity_To_v1_Identity(in *user.Identity, out *v1.Identity, s conversion.Scope) error {
	return autoConvert_user_Identity_To_v1_Identity(in, out, s)
}
955065
func Convert_config_LDAPSyncConfig_To_v1_LDAPSyncConfig(in *config.LDAPSyncConfig, out *v1.LDAPSyncConfig, s conversion.Scope) error {
	return autoConvert_config_LDAPSyncConfig_To_v1_LDAPSyncConfig(in, out, s)
}
148761
func Convert_v1_HTPasswdPasswordIdentityProvider_To_config_HTPasswdPasswordIdentityProvider(in *v1.HTPasswdPasswordIdentityProvider, out *config.HTPasswdPasswordIdentityProvider, s conversion.Scope) error {
	return autoConvert_v1_HTPasswdPasswordIdentityProvider_To_config_HTPasswdPasswordIdentityProvider(in, out, s)
}
797106
func Convert_v1_IDRange_To_security_IDRange(in *v1.IDRange, out *security.IDRange, s conversion.Scope) error {
	return autoConvert_v1_IDRange_To_security_IDRange(in, out, s)
}
1100168
func (f *ProviderFactory) CreateIdentityManagerProvider(endpointConfig fab.EndpointConfig, cryptoProvider core.CryptoSuite, userStore msp.UserStore) (msp.IdentityManagerProvider, error) {
	return msppvdr.New(endpointConfig, cryptoProvider, userStore)
}
1159722
func Convert_v1_IdentityProvider_To_config_IdentityProvider(in *legacyconfigv1.IdentityProvider, out *internal.IdentityProvider, s conversion.Scope) error {
	if err := autoConvert_v1_IdentityProvider_To_config_IdentityProvider(in, out, s); err != nil {
		return err
	}

	if len(in.Provider.Raw) == 0 && (in.Provider.Object == nil) {
		out.Provider = nil
	} else {
		if err := convert_runtime_RawExtension_To_runtime_Object(&in.Provider, &out.Provider, s); err != nil {
			return nil
		}
	}

	return nil
}
102221
func Convert_v1_GitHubIdentityProvider_To_config_GitHubIdentityProvider(in *v1.GitHubIdentityProvider, out *config.GitHubIdentityProvider, s conversion.Scope) error {
	return autoConvert_v1_GitHubIdentityProvider_To_config_GitHubIdentityProvider(in, out, s)
}
310923
func Convert_config_PolicyConfig_To_v1_PolicyConfig(in *config.PolicyConfig, out *v1.PolicyConfig, s conversion.Scope) error {
	return autoConvert_config_PolicyConfig_To_v1_PolicyConfig(in, out, s)
}
212613
func Convert_v1_OpenIDURLs_To_config_OpenIDURLs(in *v1.OpenIDURLs, out *config.OpenIDURLs, s conversion.Scope) error {
	return autoConvert_v1_OpenIDURLs_To_config_OpenIDURLs(in, out, s)
}
506327
func Convert_config_OpenIDURLs_To_v1_OpenIDURLs(in *config.OpenIDURLs, out *v1.OpenIDURLs, s conversion.Scope) error {
	return autoConvert_config_OpenIDURLs_To_v1_OpenIDURLs(in, out, s)
}