private async Task <AdLdsUser> ValidateLocalCredentials(string username, string password) { return(await directoryContext.ValidateCredentialsAsync(username, password)); }