API Reference
Class
DomainControllerLdapConnectivityPostureService
Builds a typed LDAP connectivity and certificate posture view for a single domain controller.
Inheritance
- Object
- DomainControllerLdapConnectivityPostureService
Methods
public static View Evaluate(Options options = null, Func<Options, CancellationToken, Task<LdapServerResult>> scanAsync = null, Func<LdapServerResult, Options, CancellationToken, Task<LdapServerReadable>> readableFactoryAsync = null, CancellationToken cancellationToken = null) #Returns:
ViewEvaluates LDAP connectivity posture for a single domain controller using a synchronous facade.
Parameters
- options ADPlayground.DomainControllers.DomainControllerLdapConnectivityPostureService.Options = null
- Evaluation options.
- scanAsync System.Func{ADPlayground.DomainControllers.DomainControllerLdapConnectivityPostureService.Options,System.Threading.CancellationToken,System.Threading.Tasks.Task{ADPlayground.Ldap.LdapServerResult}} = null
- Optional low-level scanner override for tests.
- readableFactoryAsync System.Func{ADPlayground.Ldap.LdapServerResult,ADPlayground.DomainControllers.DomainControllerLdapConnectivityPostureService.Options,System.Threading.CancellationToken,System.Threading.Tasks.Task{ADPlayground.Ldap.LdapServerReadable}} = null
- Optional readable projection override for tests.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Typed LDAP connectivity posture view.
public static async Task<View> EvaluateAsync(Options options = null, Func<Options, CancellationToken, Task<LdapServerResult>> scanAsync = null, Func<LdapServerResult, Options, CancellationToken, Task<LdapServerReadable>> readableFactoryAsync = null, CancellationToken cancellationToken = null) #Returns:
Task<View>Evaluates LDAP connectivity posture for a single domain controller.
Parameters
- options ADPlayground.DomainControllers.DomainControllerLdapConnectivityPostureService.Options = null
- Evaluation options.
- scanAsync System.Func{ADPlayground.DomainControllers.DomainControllerLdapConnectivityPostureService.Options,System.Threading.CancellationToken,System.Threading.Tasks.Task{ADPlayground.Ldap.LdapServerResult}} = null
- Optional low-level scanner override for tests.
- readableFactoryAsync System.Func{ADPlayground.Ldap.LdapServerResult,ADPlayground.DomainControllers.DomainControllerLdapConnectivityPostureService.Options,System.Threading.CancellationToken,System.Threading.Tasks.Task{ADPlayground.Ldap.LdapServerReadable}} = null
- Optional readable projection override for tests.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Typed LDAP connectivity posture view.