Closed Gyyone closed 1 year ago
This should be fixed in: 5af700d13f6e926c6e6e8fc36ab99c7d18728688. The auth challenge handler should now be invoked by both - the HTTP client and the WebSocket transport.
Thanks . Have verified It work now.
Thanks for confirming. I am glad to hear it now works as expected.
After Implement following code, Still facing SSL/TLS Issue from WebsocketTranspot. let challangeDelegate: (( session: URLSession, challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)? = { , challenge, completionHandler in
}
let connection = HubConnectionBuilder(url: url) .withHttpConnectionOptions() { options in options.accessTokenProvider = { ....accessToken.... } options.authenticationChallengeHandler = challangeDelegate options.headers += ...... } .build() connection.delegate = self connection.start()