コード例 #1
0
 public BasicAuthenticationMiddleware(
     IApplicationKeyStore keyStore,
     ICryptoServices crypto,
     RequestDelegate next,
     ILoggerFactory loggerFactory,
     UrlEncoder encoder,
     IOptions <BasicAuthenticationOptions> options)
     : base(next, options, loggerFactory, encoder)
 {
     _crypto   = crypto;
     _keyStore = keyStore;
 }
コード例 #2
0
 public BasicAuthenticationHandler(ICryptoServices crypto, IApplicationKeyStore keyStore)
 {
     _crypto   = crypto;
     _keyStore = keyStore;
 }