/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
* for more information concerning the license and the contributors participating to this project.
*/
namespace ZeroFramework.IdentityServer.API.Infrastructure.Authentication.GitHub;
///
/// Default values used by the GitHub authentication middleware.
///
public static class GitHubAuthenticationDefaults
{
///
/// Default value for .
///
public const string AuthenticationScheme = "GitHub";
///
/// Default value for .
///
public static readonly string DisplayName = "GitHub";
///
/// Default value for .
///
public static readonly string Issuer = "GitHub";
///
/// Default value for .
///
public static readonly string CallbackPath = "/signin-github";
///
/// Default value for .
///
public static readonly string AuthorizationEndpoint = "https://github.com/login/oauth/authorize";
///
/// Default value for .
///
public static readonly string TokenEndpoint = "https://github.com/login/oauth/access_token";
///
/// Default value for .
///
public static readonly string UserInformationEndpoint = "https://api.github.com/user";
///
/// Default value for .
///
public static readonly string UserEmailsEndpoint = "https://api.github.com/user/emails";
///
/// Default path to use for the GitHub Enterprise v3 REST API.
///
public static readonly string EnterpriseApiPath = "/api/v3";
///
/// Default path to use for .
///
public static readonly string AuthorizationEndpointPath = "/login/oauth/authorize";
///
/// Default path to use for .
///
public const string TokenEndpointPath = "/login/oauth/access_token";
///
/// Default path to use for .
///
public static readonly string UserInformationEndpointPath = "/user";
///
/// Default path to use for .
///
public static readonly string UserEmailsEndpointPath = "/user/emails";
}