Class LdapServiceExtensions
DI registration for LDAP external user provider and sync infrastructure.
public static class LdapServiceExtensions
Inheritance
Methods
AddRedbIdentityLdap(IServiceCollection, Action<LdapProviderOptions>)
Registers as an
public static IServiceCollection AddRedbIdentityLdap(this IServiceCollection services, Action<LdapProviderOptions> configure)
AddRedbIdentityLdap(IServiceCollection, IConfiguration)
Registers as an
public static IServiceCollection AddRedbIdentityLdap(this IServiceCollection services, IConfiguration configuration)
AddRedbIdentityLdap(IServiceCollection, LdapProviderOptions)
Registers as an
public static IServiceCollection AddRedbIdentityLdap(this IServiceCollection services, LdapProviderOptions options)
AddRedbIdentityLdapCheck(IHealthChecksBuilder, string, HealthStatus?, IEnumerable<string>?)
Adds an LDAP connectivity health check that probes all registered LDAP providers.
public static IHealthChecksBuilder AddRedbIdentityLdapCheck(this IHealthChecksBuilder builder, string name = "redb-identity-ldap", HealthStatus? failureStatus = HealthStatus.Degraded, IEnumerable<string>? tags = null)
AddRedbIdentityLdapSync(IServiceCollection, Action<LdapSyncOptions>)
Registers the LDAP sync infrastructure:
public static IServiceCollection AddRedbIdentityLdapSync(this IServiceCollection services, Action<LdapSyncOptions> configure)
AddRedbIdentityLdapSync(IServiceCollection, LdapSyncOptions)
Registers the LDAP sync infrastructure with explicit options.
public static IServiceCollection AddRedbIdentityLdapSync(this IServiceCollection services, LdapSyncOptions options)