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

2019-08-08 14:33发布

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?

0条回答
登录 后发表回答