ktor-client-auth-basic
Module Contents
alltypes
Module Contents
class
BasicAuth
Module Contents
BasicAuth
(
username
:
String
,
password
:
String
)
class
Configuration
Module Contents
Configuration
(
)
lateinit
var
password
:
String
lateinit
var
username
:
String
companion
object
Feature
:
HttpClientFeature
<
Configuration
,
BasicAuth
>
Module Contents
fun
constructBasicAuthValue
(
username
:
String
,
password
:
String
)
:
String
fun
install
(
feature
:
BasicAuth
,
scope
:
HttpClient
)
:
Unit
val
key
:
AttributeKey
<
BasicAuth
>
fun
prepare
(
block
:
Configuration
.
(
)
->
Unit
)
:
BasicAuth
fun
constructBasicAuthValue
(
username
:
String
,
password
:
String
)
:
String
fun
install
(
feature
:
BasicAuth
,
scope
:
HttpClient
)
:
Unit
val
key
:
AttributeKey
<
BasicAuth
>
val
password
:
String
fun
prepare
(
block
:
Configuration
.
(
)
->
Unit
)
:
BasicAuth
val
username
:
String
package
io.ktor.client.features.auth.basic
Module Contents
class
BasicAuth
Module Contents
BasicAuth
(
username
:
String
,
password
:
String
)
class
Configuration
Module Contents
Configuration
(
)
lateinit
var
password
:
String
lateinit
var
username
:
String
companion
object
Feature
:
HttpClientFeature
<
Configuration
,
BasicAuth
>
Module Contents
fun
constructBasicAuthValue
(
username
:
String
,
password
:
String
)
:
String
fun
install
(
feature
:
BasicAuth
,
scope
:
HttpClient
)
:
Unit
val
key
:
AttributeKey
<
BasicAuth
>
fun
prepare
(
block
:
Configuration
.
(
)
->
Unit
)
:
BasicAuth
fun
constructBasicAuthValue
(
username
:
String
,
password
:
String
)
:
String
fun
install
(
feature
:
BasicAuth
,
scope
:
HttpClient
)
:
Unit
val
key
:
AttributeKey
<
BasicAuth
>
val
password
:
String
fun
prepare
(
block
:
Configuration
.
(
)
->
Unit
)
:
BasicAuth
val
username
:
String