Make all handlers public
This commit is contained in:
parent
241880eadc
commit
1367a5d385
|
|
@ -16,7 +16,7 @@ using Newtonsoft.Json.Linq;
|
|||
|
||||
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)
|
||||
: base(options, logger, encoder, clock)
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ using Newtonsoft.Json.Linq;
|
|||
|
||||
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)
|
||||
: base(options, logger, encoder, clock)
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ using Microsoft.Net.Http.Headers;
|
|||
|
||||
namespace Microsoft.AspNetCore.Authentication.JwtBearer
|
||||
{
|
||||
internal class JwtBearerHandler : AuthenticationHandler<JwtBearerOptions>
|
||||
public class JwtBearerHandler : AuthenticationHandler<JwtBearerOptions>
|
||||
{
|
||||
private OpenIdConnectConfiguration _configuration;
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ using Newtonsoft.Json.Linq;
|
|||
|
||||
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)
|
||||
: base(options, logger, encoder, clock)
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ using Newtonsoft.Json.Linq;
|
|||
|
||||
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 const string RequestTokenEndpoint = "https://api.twitter.com/oauth/request_token";
|
||||
|
|
|
|||
Loading…
Reference in New Issue