BasicAuth

class BasicAuth(username: String, password: String)

HttpClient feature that sets an Authorization: basic header as specified in RFC-2617 using username and password.

https://www.ietf.org/rfc/rfc2617.txt

Constructors

Link copied to clipboard
fun BasicAuth(username: String, password: String)

Types

Link copied to clipboard
class Configuration
Link copied to clipboard
object Feature : HttpClientFeature<BasicAuth.Configuration, BasicAuth>

Properties

Link copied to clipboard
val password: String

: user password.

Link copied to clipboard
val username: String

: user name.