Add initial tests on the authentication service. (#6229)

This commit is contained in:
Doug
2022-06-06 13:20:46 +01:00
committed by GitHub
parent 6139e34ae0
commit c3c78a51fd
21 changed files with 718 additions and 31 deletions
@@ -16,10 +16,14 @@
import Foundation
protocol AuthenticationRestClient {
protocol AuthenticationRestClient: AnyObject {
// MARK: Configuration
var credentials: MXCredentials! { get }
var homeserver: String! { get }
var identityServer: String! { get }
var credentials: MXCredentials! { get }
var acceptableContentTypes: Set<String>! { get set }
init(homeServer: URL, unrecognizedCertificateHandler handler: MXHTTPClientOnUnrecognizedCertificate?)
// MARK: Login
var loginFallbackURL: URL { get }