示例#1
0
 internal LimitedLocalhostHttpServer StartListener()
 {
     try
     {
         return(LimitedLocalhostHttpServer.Start(RedirectUri, _closePageResponse));
     }
     catch
     {
         CallbackUriChooser.Default.ReportFailure(_callbackUriTemplate);
         throw;
     }
 }
 private LimitedLocalhostHttpServer StartListener() => LimitedLocalhostHttpServer.Start(RedirectUri);
 internal LimitedLocalhostHttpServer StartListener() => LimitedLocalhostHttpServer.Start(RedirectUri, _closePageResponse);