Auth

data class Auth(val user: String, val pass: String, val digest: String)

Constructors

Link copied to clipboard
constructor(user: String, pass: String, digest: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun checkBasic(realm: String = "Realm", check: suspend Http.Auth.() -> Boolean)
Link copied to clipboard
fun validate(expectedUser: String, expectedPass: String, realm: String = "Realm"): Boolean