/// <summary> /// Initializes a new instance of the <see cref="SignupController"/> class. /// </summary> /// <param name="signupManager">The signup manager.</param> /// <param name="userManager">The user manager.</param> /// <param name="passwordManager">The password manager.</param> /// <param name="ISecurityManager">The JWT packet manager.</param> public SignupController(ISignupManager signupManager, IUserManager userManager, IPasswordManager passwordManager, ISecurityManager securityManager, IEmailManager emailManager) { _signUpManager = signupManager; _userManager = userManager; _passwordManager = passwordManager; _securityManager = securityManager; _emailManager = emailManager; }
/// <summary> /// Initializes a new instance of the <see cref="LoginController"/> class. /// </summary> /// <param name="signUpManager">The sign up manager.</param> /// <param name="jwtPacketManager">The JWT packet manager.</param> public LoginController(ISignupManager signUpManager, ISecurityManager securityManager, IEmailManager emailManager) { _signUpManager = signUpManager; _securityManager = securityManager; _emailManager = emailManager; }
public AuthenticationController(ILoginManager loginManager, ISignupManager signupManager) { _loginManager = loginManager; _signupManager = signupManager; }