class Auth
Client authentication feature. providers - list of auth providers to use.
companion object Feature : HttpClientFeature<Auth, Auth> |
Auth(providers: MutableList<AuthProvider> = mutableListOf())
Client authentication feature. providers - list of auth providers to use. |
val providers: MutableList<AuthProvider> |
val key: AttributeKey<Auth> |
fun install(feature: Auth, scope: HttpClient): Unit |
|
fun prepare(block: Auth.() -> Unit): Auth |
fun Auth.basic(block: BasicAuthConfig.() -> Unit): Unit
Add BasicAuthProvider to client Auth providers. |
|
fun Auth.digest(block: DigestAuthConfig.() -> Unit): Unit
Install client DigestAuthProvider. |