예제 #1
0
        /// <summary>
        /// Reads the LDAP Config that corresponds to this engine.  Returns the JSON representation of the config.
        /// </summary>
        /// <returns></returns>
        public async Task <string> ReadLDAPConfigAsJSON()
        {
            string path = MountPointPath + "config";

            VaultDataResponseObjectB vdro = await ParentVault._httpConnector.GetAsync_B(path, "ReadLDAPConfigAsJSON");

            if (vdro.Success)
            {
                return(await vdro.GetJSON());
            }
            return(null);
        }