// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace ZeroFramework.IdentityServer.API.Infrastructure.Authentication.Microsoft; /// /// Default values for Microsoft account authentication /// public static class MicrosoftAccountDefaults { /// /// The default scheme for Microsoft account authentication. Defaults to Microsoft. /// public const string AuthenticationScheme = "Microsoft"; /// /// The default display name for Microsoft account authentication. Defaults to Microsoft. /// public static readonly string DisplayName = "Microsoft"; /// /// The default endpoint used to perform Microsoft account authentication. /// /// /// For more details about this endpoint, see https://developer.microsoft.com/en-us/graph/docs/concepts/auth_v2_user /// public static readonly string AuthorizationEndpoint = "https://login.microsoftonline.com/common/oauth2/v2.0/authorize"; /// /// The OAuth endpoint used to exchange access tokens. /// public static readonly string TokenEndpoint = "https://login.microsoftonline.com/common/oauth2/v2.0/token"; /// /// The Microsoft Graph API endpoint that is used to gather additional user information. /// public static readonly string UserInformationEndpoint = "https://graph.microsoft.com/v1.0/me"; }