Make all handlers public

This commit is contained in:
Hao Kung 2017-09-14 14:57:40 -07:00 committed by Hao Kung
parent 241880eadc
commit 1367a5d385
5 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ using Newtonsoft.Json.Linq;
namespace Microsoft.AspNetCore.Authentication.Facebook namespace Microsoft.AspNetCore.Authentication.Facebook
{ {
internal class FacebookHandler : OAuthHandler<FacebookOptions> public class FacebookHandler : OAuthHandler<FacebookOptions>
{ {
public FacebookHandler(IOptionsMonitor<FacebookOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) public FacebookHandler(IOptionsMonitor<FacebookOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
: base(options, logger, encoder, clock) : base(options, logger, encoder, clock)

View File

@ -16,7 +16,7 @@ using Newtonsoft.Json.Linq;
namespace Microsoft.AspNetCore.Authentication.Google namespace Microsoft.AspNetCore.Authentication.Google
{ {
internal class GoogleHandler : OAuthHandler<GoogleOptions> public class GoogleHandler : OAuthHandler<GoogleOptions>
{ {
public GoogleHandler(IOptionsMonitor<GoogleOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) public GoogleHandler(IOptionsMonitor<GoogleOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
: base(options, logger, encoder, clock) : base(options, logger, encoder, clock)

View File

@ -18,7 +18,7 @@ using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNetCore.Authentication.JwtBearer namespace Microsoft.AspNetCore.Authentication.JwtBearer
{ {
internal class JwtBearerHandler : AuthenticationHandler<JwtBearerOptions> public class JwtBearerHandler : AuthenticationHandler<JwtBearerOptions>
{ {
private OpenIdConnectConfiguration _configuration; private OpenIdConnectConfiguration _configuration;

View File

@ -13,7 +13,7 @@ using Newtonsoft.Json.Linq;
namespace Microsoft.AspNetCore.Authentication.MicrosoftAccount namespace Microsoft.AspNetCore.Authentication.MicrosoftAccount
{ {
internal class MicrosoftAccountHandler : OAuthHandler<MicrosoftAccountOptions> public class MicrosoftAccountHandler : OAuthHandler<MicrosoftAccountOptions>
{ {
public MicrosoftAccountHandler(IOptionsMonitor<MicrosoftAccountOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) public MicrosoftAccountHandler(IOptionsMonitor<MicrosoftAccountOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
: base(options, logger, encoder, clock) : base(options, logger, encoder, clock)

View File

@ -19,7 +19,7 @@ using Newtonsoft.Json.Linq;
namespace Microsoft.AspNetCore.Authentication.Twitter namespace Microsoft.AspNetCore.Authentication.Twitter
{ {
internal class TwitterHandler : RemoteAuthenticationHandler<TwitterOptions> public class TwitterHandler : RemoteAuthenticationHandler<TwitterOptions>
{ {
private static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); private static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
private const string RequestTokenEndpoint = "https://api.twitter.com/oauth/request_token"; private const string RequestTokenEndpoint = "https://api.twitter.com/oauth/request_token";