Exemple #1
0
 public AuthenticationHandler(ILogHandler logHandler, IApizrOptionsBase apizrOptions, Func <HttpRequestMessage, Task <string> > refreshToken) : base(logHandler, apizrOptions)
 {
     _refreshToken = refreshToken ?? throw new ArgumentNullException(nameof(refreshToken));
 }
Exemple #2
0
 protected AuthenticationHandlerBase(ILogHandler logHandler, IApizrOptionsBase apizrOptions)
 {
     _logHandler          = logHandler;
     _apizrOptions        = apizrOptions;
     _handlerFriendlyName = GetType().GetFriendlyName();
 }