mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-11 01:35:22 +01:00
Move OpenId folder
This commit is contained in:
parent
9648836e2d
commit
c5ba063edf
8 changed files with 8 additions and 8 deletions
|
@ -8,7 +8,7 @@ using System;
|
|||
using System.Collections.Immutable;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using BTCPayServer.Authentication.OpenId;
|
||||
using BTCPayServer.Security.OpenId;
|
||||
using BTCPayServer.Data;
|
||||
using BTCPayServer.Models;
|
||||
using BTCPayServer.Models.Authorization;
|
||||
|
|
|
@ -25,7 +25,7 @@ using Microsoft.AspNetCore.Server.Kestrel.Core;
|
|||
using OpenIddict.EntityFrameworkCore.Models;
|
||||
using System.Net;
|
||||
using BTCPayServer.Authentication;
|
||||
using BTCPayServer.Authentication.OpenId;
|
||||
using BTCPayServer.Security.OpenId;
|
||||
using BTCPayServer.PaymentRequest;
|
||||
using BTCPayServer.Services.Apps;
|
||||
using BTCPayServer.Storage;
|
||||
|
|
|
@ -9,7 +9,7 @@ using OpenIddict.Core;
|
|||
using OpenIddict.Server;
|
||||
using System.Security.Claims;
|
||||
|
||||
namespace BTCPayServer.Authentication.OpenId
|
||||
namespace BTCPayServer.Security.OpenId
|
||||
{
|
||||
public abstract class BaseOpenIdGrantHandler<T> :
|
||||
IOpenIddictServerHandler<T>
|
|
@ -10,7 +10,7 @@ using OpenIddict.Core;
|
|||
using OpenIddict.EntityFrameworkCore.Models;
|
||||
using OpenIddict.Server;
|
||||
|
||||
namespace BTCPayServer.Authentication.OpenId
|
||||
namespace BTCPayServer.Security.OpenId
|
||||
{
|
||||
public class ClientCredentialsGrantTypeEventHandler :
|
||||
BaseOpenIdGrantHandler<OpenIddictServerEvents.HandleTokenRequestContext>
|
|
@ -12,7 +12,7 @@ using OpenIddict.Server;
|
|||
using Microsoft.AspNetCore;
|
||||
using OpenIddict.Server.AspNetCore;
|
||||
|
||||
namespace BTCPayServer.Authentication.OpenId
|
||||
namespace BTCPayServer.Security.OpenId
|
||||
{
|
||||
public class LogoutEventHandler : IOpenIddictServerHandler<OpenIddictServerEvents.HandleLogoutRequestContext>
|
||||
{
|
|
@ -13,7 +13,7 @@ using OpenIddict.Core;
|
|||
using OpenIddict.Server;
|
||||
using static BTCPayServer.Authentication.RestAPIPolicies;
|
||||
|
||||
namespace BTCPayServer.Authentication.OpenId
|
||||
namespace BTCPayServer.Security.OpenId
|
||||
{
|
||||
public static class OpenIdExtensions
|
||||
{
|
|
@ -11,7 +11,7 @@ using Microsoft.AspNetCore;
|
|||
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
|
||||
using OpenIddict.Server.AspNetCore;
|
||||
|
||||
namespace BTCPayServer.Authentication.OpenId
|
||||
namespace BTCPayServer.Security.OpenId
|
||||
{
|
||||
public class OpenIdGrantHandlerCheckCanSignIn :
|
||||
BaseOpenIdGrantHandler<OpenIddictServerEvents.HandleTokenRequestContext>
|
|
@ -10,7 +10,7 @@ using OpenIddict.Core;
|
|||
using OpenIddict.Server;
|
||||
using Microsoft.AspNetCore;
|
||||
|
||||
namespace BTCPayServer.Authentication.OpenId
|
||||
namespace BTCPayServer.Security.OpenId
|
||||
{
|
||||
public class PasswordGrantTypeEventHandler : BaseOpenIdGrantHandler<OpenIddictServerEvents.HandleTokenRequestContext>
|
||||
{
|
Loading…
Add table
Reference in a new issue