Skip to content

Commit

Permalink
Merge pull request #634 from albatrosify/master
Browse files Browse the repository at this point in the history
Add NTLM Auth
  • Loading branch information
pichillilorenzo authored Jan 28, 2021
2 parents 4bbfee4 + 007e1cd commit 5c99ba9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ios/Classes/InAppWebView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2025,7 +2025,9 @@ public class InAppWebView: WKWebView, UIScrollViewDelegate, WKUIDelegate, WKNavi

if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodHTTPBasic ||
challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodDefault ||
challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodHTTPDigest {
challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodHTTPDigest ||
challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodNegotiate ||
challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodNTLM {
let host = challenge.protectionSpace.host
let prot = challenge.protectionSpace.protocol
let realm = challenge.protectionSpace.realm
Expand Down

0 comments on commit 5c99ba9

Please sign in to comment.