refactor(architecture): harden module boundaries
Some checks failed
ci / release-gate (push) Has been cancelled
Some checks failed
ci / release-gate (push) Has been cancelled
This commit is contained in:
17
Tiku.Api/Controllers/AuthCapabilitySet.cs
Normal file
17
Tiku.Api/Controllers/AuthCapabilitySet.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Tiku.Application.Auth;
|
||||
|
||||
namespace Tiku.Api.Controllers;
|
||||
|
||||
public sealed class AuthCapabilitySet(
|
||||
IPasswordLoginService passwordLogin,
|
||||
ISmsLoginService smsLogin,
|
||||
IWechatLoginService wechatLogin,
|
||||
IAuthSessionService sessions,
|
||||
IPasswordLifecycleService passwordLifecycle)
|
||||
{
|
||||
internal IPasswordLoginService PasswordLogin { get; } = passwordLogin;
|
||||
internal ISmsLoginService SmsLogin { get; } = smsLogin;
|
||||
internal IWechatLoginService WechatLogin { get; } = wechatLogin;
|
||||
internal IAuthSessionService Sessions { get; } = sessions;
|
||||
internal IPasswordLifecycleService PasswordLifecycle { get; } = passwordLifecycle;
|
||||
}
|
||||
Reference in New Issue
Block a user