|
|
@@ -79,10 +79,8 @@ extension SessionDelegate: URLSessionTaskDelegate {
|
|
|
switch challenge.protectionSpace.authenticationMethod {
|
|
|
case NSURLAuthenticationMethodServerTrust:
|
|
|
evaluation = attemptServerTrustAuthentication(with: challenge)
|
|
|
- case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM, NSURLAuthenticationMethodNegotiate:
|
|
|
+ case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM, NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
|
|
|
evaluation = attemptCredentialAuthentication(for: challenge, belongingTo: task)
|
|
|
- // case NSURLAuthenticationMethodClientCertificate:
|
|
|
- // Alamofire doesn't currently support client certificate validation.
|
|
|
default:
|
|
|
evaluation = (.performDefaultHandling, nil, nil)
|
|
|
}
|