Scoop API

scoop:scoop.http:0.1.0

HttpAuthChallenge

class HttpAuthChallenge

source · line 9
public
public class HttpAuthChallenge private constructor(private val content: HttpAuthValue)

One authentication challenge with a scheme and token68 or named parameters; parsing alone does not authenticate credentials.

function toProxyAuthenticateField

source · line 40
public
public fun toProxyAuthenticateField(): HttpField

Builds a Proxy-Authenticate challenge field.

function toByteArray

source · line 32
public
public fun toByteArray(): Array<Byte>

Serializes the structured value into HTTP field-value bytes.

function toWwwAuthenticateField

source · line 36
public
public fun toWwwAuthenticateField(): HttpField

Builds a WWW-Authenticate challenge field.