Пример #1
0
 public HttpBasicAuthenticationRequest(
     BasicHttpAuthenticationProvider basicHttpAuthenticationProvider, IncomingHttpRequestMessage message,
     string name, string suppliedPassword)
     : base(name, suppliedPassword)
 {
     _basicHttpAuthenticationProvider = basicHttpAuthenticationProvider;
     _message = message;
 }
 public HttpBasicAuthenticationRequest(
     BasicHttpAuthenticationProvider basicHttpAuthenticationProvider, IncomingHttpRequestMessage message,
     string name, string suppliedPassword)
     : base(name, suppliedPassword)
 {
     _basicHttpAuthenticationProvider = basicHttpAuthenticationProvider;
     _message = message;
 }
 public HttpBasicAuthenticationRequest(
     BasicHttpAuthenticationProvider basicHttpAuthenticationProvider, IncomingHttpRequestMessage message,
     string name, string suppliedPassword)
     : base($"(HTTP) {message.Entity.Request?.RemoteEndPoint}", name, suppliedPassword)
 {
     _basicHttpAuthenticationProvider = basicHttpAuthenticationProvider;
     _message = message;
 }
 protected new void SetUpProvider()
 {
     base.SetUpProvider();
     _provider = new BasicHttpAuthenticationProvider(_internalAuthenticationProvider);
 }