/// <inheritdoc cref="IZooKeeperAuthClient.SetAclAsync"/> public static Task <SetAclResult> SetAclAsync(this IZooKeeperClient client, [NotNull] string path, [NotNull] List <Acl> acls) => client.AsAuthZooKeeperClient().SetAclAsync(new SetAclRequest(path, acls));
/// <inheritdoc cref="IZooKeeperAuthClient.AddAuthenticationInfo"/> public static void AddAuthenticationInfo(this IZooKeeperClient client, AuthenticationInfo authInfo) => client.AsAuthZooKeeperClient().AddAuthenticationInfo(authInfo);
/// <inheritdoc cref="IZooKeeperAuthClient.SetAclAsync"/> public static Task <SetAclResult> SetAclAsync(this IZooKeeperClient client, SetAclRequest setAclRequest) => client.AsAuthZooKeeperClient().SetAclAsync(setAclRequest);
/// <inheritdoc cref="IZooKeeperAuthClient.SetAclAsync"/> public static SetAclResult SetAcl(this IZooKeeperClient client, SetAclRequest request) => client.AsAuthZooKeeperClient().SetAclAsync(request).GetAwaiter().GetResult();
/// <inheritdoc cref="IZooKeeperAuthClient.GetAclAsync"/> public static Task <GetAclResult> GetAclAsync(this IZooKeeperClient client, [NotNull] string path) => client.AsAuthZooKeeperClient().GetAclAsync(new GetAclRequest(path));
/// <inheritdoc cref="IZooKeeperAuthClient.GetAclAsync"/> public static GetAclResult GetAcl(this IZooKeeperClient client, [NotNull] string path) => client.AsAuthZooKeeperClient().GetAclAsync(new GetAclRequest(path)).GetAwaiter().GetResult();
/// <inheritdoc cref="IZooKeeperAuthClient.GetAclAsync"/> public static Task <GetAclResult> GetAclAsync(this IZooKeeperClient client, GetAclRequest request) => client.AsAuthZooKeeperClient().GetAclAsync(request);