Move OpenId folder

This commit is contained in:
nicolas.dorier 2019-10-18 21:36:32 +09:00
parent 9648836e2d
commit c5ba063edf
No known key found for this signature in database
GPG key ID: 6618763EF09186FE
8 changed files with 8 additions and 8 deletions

View file

@ -8,7 +8,7 @@ using System;
using System.Collections.Immutable; using System.Collections.Immutable;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using BTCPayServer.Authentication.OpenId; using BTCPayServer.Security.OpenId;
using BTCPayServer.Data; using BTCPayServer.Data;
using BTCPayServer.Models; using BTCPayServer.Models;
using BTCPayServer.Models.Authorization; using BTCPayServer.Models.Authorization;

View file

@ -25,7 +25,7 @@ using Microsoft.AspNetCore.Server.Kestrel.Core;
using OpenIddict.EntityFrameworkCore.Models; using OpenIddict.EntityFrameworkCore.Models;
using System.Net; using System.Net;
using BTCPayServer.Authentication; using BTCPayServer.Authentication;
using BTCPayServer.Authentication.OpenId; using BTCPayServer.Security.OpenId;
using BTCPayServer.PaymentRequest; using BTCPayServer.PaymentRequest;
using BTCPayServer.Services.Apps; using BTCPayServer.Services.Apps;
using BTCPayServer.Storage; using BTCPayServer.Storage;

View file

@ -9,7 +9,7 @@ using OpenIddict.Core;
using OpenIddict.Server; using OpenIddict.Server;
using System.Security.Claims; using System.Security.Claims;
namespace BTCPayServer.Authentication.OpenId namespace BTCPayServer.Security.OpenId
{ {
public abstract class BaseOpenIdGrantHandler<T> : public abstract class BaseOpenIdGrantHandler<T> :
IOpenIddictServerHandler<T> IOpenIddictServerHandler<T>

View file

@ -10,7 +10,7 @@ using OpenIddict.Core;
using OpenIddict.EntityFrameworkCore.Models; using OpenIddict.EntityFrameworkCore.Models;
using OpenIddict.Server; using OpenIddict.Server;
namespace BTCPayServer.Authentication.OpenId namespace BTCPayServer.Security.OpenId
{ {
public class ClientCredentialsGrantTypeEventHandler : public class ClientCredentialsGrantTypeEventHandler :
BaseOpenIdGrantHandler<OpenIddictServerEvents.HandleTokenRequestContext> BaseOpenIdGrantHandler<OpenIddictServerEvents.HandleTokenRequestContext>

View file

@ -12,7 +12,7 @@ using OpenIddict.Server;
using Microsoft.AspNetCore; using Microsoft.AspNetCore;
using OpenIddict.Server.AspNetCore; using OpenIddict.Server.AspNetCore;
namespace BTCPayServer.Authentication.OpenId namespace BTCPayServer.Security.OpenId
{ {
public class LogoutEventHandler : IOpenIddictServerHandler<OpenIddictServerEvents.HandleLogoutRequestContext> public class LogoutEventHandler : IOpenIddictServerHandler<OpenIddictServerEvents.HandleLogoutRequestContext>
{ {

View file

@ -13,7 +13,7 @@ using OpenIddict.Core;
using OpenIddict.Server; using OpenIddict.Server;
using static BTCPayServer.Authentication.RestAPIPolicies; using static BTCPayServer.Authentication.RestAPIPolicies;
namespace BTCPayServer.Authentication.OpenId namespace BTCPayServer.Security.OpenId
{ {
public static class OpenIdExtensions public static class OpenIdExtensions
{ {

View file

@ -11,7 +11,7 @@ using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using OpenIddict.Server.AspNetCore; using OpenIddict.Server.AspNetCore;
namespace BTCPayServer.Authentication.OpenId namespace BTCPayServer.Security.OpenId
{ {
public class OpenIdGrantHandlerCheckCanSignIn : public class OpenIdGrantHandlerCheckCanSignIn :
BaseOpenIdGrantHandler<OpenIddictServerEvents.HandleTokenRequestContext> BaseOpenIdGrantHandler<OpenIddictServerEvents.HandleTokenRequestContext>

View file

@ -10,7 +10,7 @@ using OpenIddict.Core;
using OpenIddict.Server; using OpenIddict.Server;
using Microsoft.AspNetCore; using Microsoft.AspNetCore;
namespace BTCPayServer.Authentication.OpenId namespace BTCPayServer.Security.OpenId
{ {
public class PasswordGrantTypeEventHandler : BaseOpenIdGrantHandler<OpenIddictServerEvents.HandleTokenRequestContext> public class PasswordGrantTypeEventHandler : BaseOpenIdGrantHandler<OpenIddictServerEvents.HandleTokenRequestContext>
{ {