Is there a way to “inject” a Basic Authorization header using the NetworkExtension framework?
问题 I want to be able to provide credentials for a HTTP endpoint with the following constraints in mind No user interaction. The user shouldn't be prompted for a username/password. Credentials are to be managed by the app itself. Outside of an app's process. e.g. any request to the domain "foo.com" must have an Authorization Header defined. The device must not be supervised. Is something like this possible with the NetworkExtension framework? 来源: https://stackoverflow.com/questions/51178454/is