Release 2.0.0

This commit is contained in:
Frank Rotermund
2022-11-27 13:18:53 +00:00
parent c2f475d115
commit 275f8accc6
570 changed files with 20366 additions and 4410 deletions
@@ -34,6 +34,8 @@ protocol AuthenticationRestClient: AnyObject {
func login(parameters: LoginParameters) async throws -> MXCredentials
func login(parameters: [String: Any]) async throws -> MXCredentials
func generateLoginToken() async throws -> MXLoginToken
// MARK: Registration
var registerFallbackURL: URL { get }
@@ -48,6 +50,10 @@ protocol AuthenticationRestClient: AnyObject {
func forgetPassword(for email: String, clientSecret: String, sendAttempt: UInt) async throws -> String
func resetPassword(parameters: CheckResetPasswordParameters) async throws
func resetPassword(parameters: [String: Any]) async throws
// MARK: Versions
func supportedMatrixVersions() async throws -> MXMatrixVersions
}
extension MXRestClient: AuthenticationRestClient { }