toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.net.http
/
Http
/
Auth
Auth
data
class
Auth
(
val
user
:
String
,
val
pass
:
String
,
val
digest
:
String
)
Members
Constructors
Auth
Link copied to clipboard
constructor
(
user
:
String
,
pass
:
String
,
digest
:
String
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
digest
Link copied to clipboard
val
digest
:
String
pass
Link copied to clipboard
val
pass
:
String
user
Link copied to clipboard
val
user
:
String
Functions
check
Basic
Link copied to clipboard
suspend
fun
checkBasic
(
realm
:
String
=
"Realm"
,
check
:
suspend
Http.Auth
.
(
)
->
Boolean
)
validate
Link copied to clipboard
fun
validate
(
expectedUser
:
String
,
expectedPass
:
String
,
realm
:
String
=
"Realm"
)
:
Boolean