Is there a way to “inject” a Basic Authorization header using the NetworkExtension framework?

与世无争的帅哥 提交于 2020-01-15 09:42:31

问题


I want to be able to provide credentials for a HTTP endpoint with the following constraints in mind

  1. No user interaction. The user shouldn't be prompted for a username/password. Credentials are to be managed by the app itself.
  2. Outside of an app's process. e.g. any request to the domain "foo.com" must have an Authorization Header defined.
  3. The device must not be supervised.

Is something like this possible with the NetworkExtension framework?

来源:https://stackoverflow.com/questions/51178454/is-there-a-way-to-inject-a-basic-authorization-header-using-the-networkextensi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!