Beispiel #1
0
 public EmailSender(IOptions <TwoFactorOptions> options, TwoFactorService twoFactorService)
 {
     this._twoFactorOptions = options.Value;
     this._twoFactorService = twoFactorService;
 }
Beispiel #2
0
 public TwoFactorService(UrlEncoder urlEncoder, IOptions <TwoFactorOptions> options)
 {
     this._urlEncoder       = urlEncoder;
     this._twoFactorOptions = options.Value;
 }