ClassicMatrixClientAuthProvider

Constructors

Link copied to clipboard
constructor(baseUrl: Url, store: MatrixClientAuthProviderDataStore, onLogout: suspend (LogoutInfo) -> Unit)

Properties

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

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 override fun refreshToken(response: HttpResponse): Boolean
Link copied to clipboard
open suspend override fun refreshTokens(bearerTokens: ClassicMatrixClientAuthProviderData, httpClient: HttpClient): ClassicMatrixClientAuthProviderData
Link copied to clipboard
open override fun sendWithoutRequest(request: HttpRequestBuilder): Boolean