class Challenge
An RFC 7235 challenge.
Challenge(scheme: String, realm: String)Challenge(scheme: String, authParams: Map<String?, String>)
An RFC 7235 challenge. |
fun 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. |
|
fun charset(): Charset
Returns the charset that should be used to encode the credentials. |
|
fun equals(other: Any?): Boolean |
|
fun hashCode(): Int |
|
fun realm(): String?
Returns the protection space. |
|
fun scheme(): String
Returns the authentication scheme, like |
|
fun toString(): String |
|
fun withCharset(charset: Charset): Challenge
Returns a copy of this charset that expects a credential encoded with charset. |