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