class Challenge
An RFC 7235 challenge.
Challenge(scheme: String, realm: String)Challenge(scheme: String, authParams: Map<String?, String>)
An RFC 7235 challenge. |
val authParams: Map<String?, String>
Returns the auth params, including realm and charset if present, but as strings. The map's keys are lowercase and should be treated case-insensitively. |
|
val charset: Charset
The charset that should be used to encode the credentials. |
|
val realm: String?
Returns the protection space. |
|
val scheme: String
Returns the authentication scheme, like |
fun equals(other: Any?): Boolean |
|
fun hashCode(): Int |
|
fun toString(): String |
|
fun withCharset(charset: Charset): Challenge
Returns a copy of this charset that expects a credential encoded with charset. |