Multi session logut

This commit is contained in:
Aleksandrs Proskurins
2022-10-27 10:04:42 +03:00
parent ed627162e6
commit c4641f1f00
6 changed files with 72 additions and 8 deletions
@@ -131,7 +131,7 @@ final class UserInteractiveAuthenticationService: NSObject {
success: @escaping (MXAuthenticationSession?) -> Void,
failure: @escaping (Error) -> Void) -> MXHTTPOperation {
// Get the authentication flow required for this API
return self.session.matrixRestClient.authSessionForRequest(withMethod: request.httpMethod, path: request.path, parameters: [:], success: { [weak self] (authenticationSession) in
return self.session.matrixRestClient.authSessionForRequest(withMethod: request.httpMethod, path: request.path, parameters: request.params, success: { [weak self] (authenticationSession) in
guard let self = self else {
return
}