How do I trigger an NSURLAuthenticationChallenge with NSURLAuthenticationMethodHTMLForm

StackOverflow https://stackoverflow.com/questions/18743396

  •  28-06-2022
  •  | 
  •  

Вопрос

I can't find any documentation on NSURLAuthenticationMethodHTMLForm. How do I trigger an NSURLAuthenticationChallenge with an NSURLAuthenticationMethodHTMLForm authenticationMethod?

More specifically, is there any way to induce the URL Loading system to produce a challenge like that based on a response from an HTTP server? Or is NSURLAuthenticationMethodHTMLForm only for synthetic authentication challenges?

Это было полезно?

Решение

I can't divulge the source, but I asked someone that would know, and they said:

This challenge is never generated by Foundation. It is used for credential persistence

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top