HomeServerConnectionConfig

@JsonClass(generateAdapter = true)
data class HomeServerConnectionConfig(    val homeServerUri: Uri,     val homeServerUriBase: Uri = homeServerUri,     val identityServerUri: Uri? = null,     val antiVirusServerUri: Uri? = null,     val allowedFingerprints: List<Fingerprint> = emptyList(),     val shouldPin: Boolean = false,     val tlsVersions: List<TlsVersion>? = null,     val tlsCipherSuites: List<CipherSuite>? = null,     val shouldAcceptTlsExtensions: Boolean = true,     val allowHttpExtension: Boolean = false,     val forceUsageTlsVersions: Boolean = false)

This data class holds how to connect to a specific Homeserver. It's used with org.matrix.android.sdk.api.auth.AuthenticationService class. You should use the Builder to create one.

Constructors

Link copied to clipboard
fun HomeServerConnectionConfig(    homeServerUri: Uri,     homeServerUriBase: Uri = homeServerUri,     identityServerUri: Uri? = null,     antiVirusServerUri: Uri? = null,     allowedFingerprints: List<Fingerprint> = emptyList(),     shouldPin: Boolean = false,     tlsVersions: List<TlsVersion>? = null,     tlsCipherSuites: List<CipherSuite>? = null,     shouldAcceptTlsExtensions: Boolean = true,     allowHttpExtension: Boolean = false,     forceUsageTlsVersions: Boolean = false)

Types

Link copied to clipboard
class Builder

This builder should be use to create a HomeServerConnectionConfig instance.

Properties

Link copied to clipboard
val allowedFingerprints: List<Fingerprint>
Link copied to clipboard
val allowHttpExtension: Boolean = false
Link copied to clipboard
val antiVirusServerUri: Uri? = null
Link copied to clipboard
val forceUsageTlsVersions: Boolean = false
Link copied to clipboard
val homeServerUri: Uri
Link copied to clipboard
val homeServerUriBase: Uri
Link copied to clipboard
val identityServerUri: Uri? = null
Link copied to clipboard
val shouldAcceptTlsExtensions: Boolean = true
Link copied to clipboard
val shouldPin: Boolean = false
Link copied to clipboard
val tlsCipherSuites: List<CipherSuite>? = null
Link copied to clipboard
val tlsVersions: List<TlsVersion>? = null