-->

Is there a way to “inject” a Basic Authorization h

2019-08-08 14:21发布

问题:

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?