public Cas10ServiceTicketValidator(
     ICasOptions options,
     HttpClient httpClient = null)
     : base(options, httpClient)
 {
     ValidateUrlSuffix = "validate";
 }
 protected Cas20ServiceTicketValidator(
     string suffix,
     ICasOptions options,
     HttpClient?httpClient = null)
     : base(suffix, options, httpClient)
 {
 }
 public CasServiceTicketValidator(ICasOptions options, HttpClient httpClient = null)
 {
     if (options == null)
     {
         throw new ArgumentNullException(nameof(options));
     }
     this.options    = options;
     this.httpClient = httpClient ?? new HttpClient();
 }
Beispiel #4
0
 public Cas20ServiceTicketValidationTest(CasFixture fixture)
 {
     _options = fixture.Options;
     _service = fixture.Service;
     _files   = fixture.FileProvider;
 }
Beispiel #5
0
 public Cas30ServiceTicketValidator(
     ICasOptions options,
     HttpClient?httpClient = null)
     : base("p3/serviceValidate", options, httpClient)
 {
 }
Beispiel #6
0
 public CasAuthenticationMiddlewareTest(CasFixture fixture)
 {
     _options = fixture.Options;
 }
 public Cas10ServiceTicketValidationTest(CasFixture fixture)
 {
     _options = fixture.Options;
     _service = fixture.Service;
 }
Beispiel #8
0
 protected CasServiceTicketValidator(string suffix, ICasOptions options, HttpClient?httpClient = null)
 {
     ValidateUrlSuffix = suffix;
     this.options      = options ?? throw new ArgumentNullException(nameof(options));
     this.httpClient   = httpClient ?? new HttpClient();
 }
Beispiel #9
0
 protected CasServiceTicketValidator(ICasOptions options, HttpClient?httpClient = null)
 {
     this.options    = options ?? throw new ArgumentNullException(nameof(options));
     this.httpClient = httpClient ?? new HttpClient();
 }