コード例 #1
0
 public CasAuthenticationHandler(
     IOptionsMonitor <CasAuthenticationOptions> options,
     ILoggerFactory logger,
     UrlEncoder encoder,
     ISystemClock clock,
     CasTokenValidator tokenValidator)
     : base(options, logger, encoder, clock)
 {
     this.CasTokenValidator = tokenValidator;
 }
コード例 #2
0
 public CasXsrfHandler(ILogger <CasXsrfHandler> logger, CasTokenValidator validator, IHttpContextAccessor contextAccessor)
 {
     this.Logger          = logger;
     this.Validator       = validator;
     this.ContextAccessor = contextAccessor;
 }