public UserController(MyDBContext myDBContext, IAuthy auth, ISmsService smsService, IMapper mapper) { _ctx = myDBContext; _authy = auth; _smsService = smsService; _mapper = mapper; }
public UserController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ILoggerFactory loggerFactory, IAuthy authy) { this.userManager = userManager; this.signInManager = signInManager; this.logger = loggerFactory.CreateLogger <UserController>(); this.authy = authy; }
/// <inheritdoc /> public Authorization(IOptions <JwtIssuerOptions> jwtOptions, ILogger <Authorization> logger, IMediator mediator, IOptions <MobileSecurityOptions> mobileSecurityOptions, IAuthy authy, IAccountService accountService) { _jwtOptions = jwtOptions.Value; ThrowIfInvalidOptions(_jwtOptions); _logger = logger; _mediator = mediator; _mobileSecurityOptions = mobileSecurityOptions.Value; _authy = authy; _accountService = accountService; }
public PhoneVerificationController(IAuthy authy) { this.authy = authy; }
public SendSMSController(IAuthy authy, MyDBContext context, ISmsService smsService) { _authy = authy; _context = context; _smsService = smsService; }
/// <summary> /// Constructor /// </summary> /// <param name="userManager"></param> /// <param name="logger"></param> /// <param name="authy"></param> public PhoneAccountSecurityController(IUserManager <GearUser> userManager, ILogger <PhoneAccountSecurityController> logger, IAuthy authy) { _userManager = userManager; _logger = logger; _authy = authy; }
//Encrytion ecr = new Encrytion(); public KhachHangController(MyPhamContext context, IDataProtectionProvider provider, IAuthy auth, ISmsService smsService) { db = context; _smsService = smsService; _authy = auth; }