OAuth2DebugURLSessionDelegate
open class OAuth2DebugURLSessionDelegate: NSObject, URLSessionDelegate
An URLSession delegate that allows you to use self-signed SSL certificates.
Doing so is a REALLY BAD IDEA, even in development environments where you can use real, free certificates that are valid a few months. Still, sometimes you’ll have to do this so this class is provided, but DO NOT SUBMIT your app using self-signed SSL certs to the App Store. You have been warned!
-
Designated initializer.
Declaration
Swift
public init(host: String)
Parameters
host
The host to which the exception should apply
-
Undocumented
Declaration
Swift
open class OAuth2DebugURLSessionDelegate: NSObject, URLSessionDelegate