Skip to content

JiveAuthenticatingHTTPProtocol provides authentication callbacks for a UIWebView

License

Notifications You must be signed in to change notification settings

dodikk/JiveAuthenticatingHTTPProtocol

 
 

Repository files navigation

JiveAuthenticatingHTTPProtocol

Based on Apple's CustomHTTPProtocol, JiveAuthenticatingHTTPProtocol provides authentication callbacks for a UIWebView.

Usage

JiveAuthenticatingHTTPProtocol captures all NSURLConnection traffic. Ensure that no other NSURLConnections can start after you call +[JAHPAuthenticatingHTTPProtocol start]. Before loading an NSURLRequest that may require handling an authentication callback, call +[JAHPAuthenticatingHTTPProtocol setDelegate:], then +[JAHPAuthenticatingHTTPProtocol start]. Finally, load your NSURLRequest, and handle the callbacks from JAHPAuthenticatingHTTPProtocolDelegate.

See JiveAuthenticatingHTTPProtocolDemo/ViewController.m for an example.

License

BSD per the LICENSE file.

About

JiveAuthenticatingHTTPProtocol provides authentication callbacks for a UIWebView

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 99.0%
  • Ruby 1.0%