MatrixClientAuthProvider

Properties

Link copied to clipboard
abstract val baseUrl: Url
Link copied to clipboard

Functions

Link copied to clipboard
abstract suspend fun addRequestHeaders(request: HttpRequestBuilder, authHeader: HttpAuthHeader?)
Link copied to clipboard
abstract fun isApplicable(auth: HttpAuthHeader): Boolean
Link copied to clipboard
open suspend fun logout(): Result<Unit>?

Invoke authentication-provider-specific behavior when logging out.

Link copied to clipboard
open suspend fun refreshToken(response: HttpResponse): Boolean
Link copied to clipboard
open fun sendWithoutRequest(request: HttpRequestBuilder): Boolean