interface AuthProvider
Authentication provider interface.
abstract val sendWithoutRequest: Boolean
Wait for HttpStatusCode.Unauthorized to send credentials. |
abstract suspend fun addRequestHeaders(request: HttpRequestBuilder): Unit
Add authentication method headers and creds. |
|
abstract fun isApplicable(auth: HttpAuthHeader): Boolean
Check if current provider is applicable to the request. |
class BasicAuthProvider : AuthProvider
Client basic authentication provider. |
|
class DigestAuthProvider : AuthProvider
Client digest AuthProvider. |