Microsoft.Identity.Client.WsTrust.CommonNonInteractiveHandler
Gets the currently logged in user. Works for Windows when user is AD or AAD joined. Throws otherwise if cannot be found.
public Task<WsTrustResponse> PerformWsTrustMexExchangeAsync(string federationMetadataUrl, string cloudAudienceUrn, UserAuthType userAuthType, string username, string password, string federationMetadataFilename)
public Task<UserRealmDiscoveryResponse> QueryUserRealmDataAsync(string userRealmUriPrefix, string username)