aspnetcore/src/Microsoft.AspNetCore.Authen.../FacebookDefaults.cs

20 lines
826 B
C#

// 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.
namespace Microsoft.AspNetCore.Authentication.Facebook
{
public static class FacebookDefaults
{
public const string AuthenticationScheme = "Facebook";
public static readonly string DisplayName = "Facebook";
// https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow#login
public static readonly string AuthorizationEndpoint = "https://www.facebook.com/v3.1/dialog/oauth";
public static readonly string TokenEndpoint = "https://graph.facebook.com/v3.1/oauth/access_token";
public static readonly string UserInformationEndpoint = "https://graph.facebook.com/v3.1/me";
}
}