コード例 #1
0
 public OtpLinkRequestProvider(
     IOptions <AuthOtpOptions> options,
     IHttpContextAccessor contextAccessor,
     ICurrentUserProvider currentUserProvider)
 {
     _contextAccessor     = contextAccessor;
     _currentUserProvider = currentUserProvider;
     _options             = options.Value;
 }
コード例 #2
0
 public ProtectedDataProvider(IOptions <AuthOtpOptions> options)
 {
     _options = options.Value;
 }
コード例 #3
0
 public OtpLinkProvider(IOptions <AuthOtpOptions> options)
 {
     _options = options.Value;
 }