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();
 }
Ejemplo n.º 4
0
 public Cas20ServiceTicketValidationTest(CasFixture fixture)
 {
     _options = fixture.Options;
     _service = fixture.Service;
     _files   = fixture.FileProvider;
 }
Ejemplo n.º 5
0
 public Cas30ServiceTicketValidator(
     ICasOptions options,
     HttpClient?httpClient = null)
     : base("p3/serviceValidate", options, httpClient)
 {
 }
Ejemplo n.º 6
0
 public CasAuthenticationMiddlewareTest(CasFixture fixture)
 {
     _options = fixture.Options;
 }
 public Cas10ServiceTicketValidationTest(CasFixture fixture)
 {
     _options = fixture.Options;
     _service = fixture.Service;
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 9
0
 protected CasServiceTicketValidator(ICasOptions options, HttpClient?httpClient = null)
 {
     this.options    = options ?? throw new ArgumentNullException(nameof(options));
     this.httpClient = httpClient ?? new HttpClient();
 }