// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.IdentityModel.Protocols; using Microsoft.IdentityModel.Protocols.OpenIdConnect; namespace Microsoft.AspNet.Authentication.Tests.OpenIdConnect { /// /// These utilities are designed to test openidconnect related flows /// public class TestUtilities { public const string DefaultHost = @"http://localhost"; public static IConfigurationManager DefaultOpenIdConnectConfigurationManager { get { return new StaticConfigurationManager(DefaultOpenIdConnectConfiguration); } } public static OpenIdConnectConfiguration DefaultOpenIdConnectConfiguration { get { return new OpenIdConnectConfiguration() { AuthorizationEndpoint = @"https://login.windows.net/common/oauth2/authorize", EndSessionEndpoint = @"https://login.windows.net/common/oauth2/endsessionendpoint", TokenEndpoint = @"https://login.windows.net/common/oauth2/token", }; } } } }