/// <summary> /// GetAsync call for Discovery Url /// </summary> /// <param name="authority"></param> public static async Task <DiscoveryResponse> GetAsync(string authority) { var client = new DiscoveryClient(authority); return(await client.GetAsync().ConfigureAwait(false)); }
/// <summary> /// Gets Discovery Doc /// </summary> /// <returns></returns> public DiscoveryResponse GetDiscoveryDoc() { DiscoveryClient discoveryClient = new DiscoveryClient(ApplicationEnvironment); return(discoveryClient.Get()); }