UnauthenticatedMatrixClientAuthProvider

Constructors

Link copied to clipboard
constructor(baseUrl: Url)

Properties

Link copied to clipboard
open override val baseUrl: Url
Link copied to clipboard
open override val sendWithoutRequest: Boolean = true

Functions

Link copied to clipboard
open suspend override fun addRequestHeaders(request: HttpRequestBuilder, authHeader: HttpAuthHeader?)
Link copied to clipboard
open override 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