Scoop API

scoop:scoop.http.client:0.1.0

HttpAuthenticationRequest

class HttpAuthenticationRequest

source · line 40
public
public class HttpAuthenticationRequest internal constructor(
    /**
     * The request requiring credentials or refreshed tokens.
     */
    public val request: HttpRequest,
    /**
     * The selected peer challenge; optional for preemptive credential loading.
     */
    public val challenge: HttpAuthChallenge?,
    /**
     * The authentication attempt number for this request sequence.
     */
    public val attempt: Long,
    /**
     * The proxy endpoint when handling proxy authentication, otherwise None.
     */
    public val proxyUrl: Url? = None
)

The request, optional challenge, authentication-attempt count, and optional proxy endpoint supplied to a credential provider.

property challenge

source · line 48
public
public val challenge: HttpAuthChallenge?

get: public read-only

The selected peer challenge; optional for preemptive credential loading.

property proxyUrl

source · line 56
public
public val proxyUrl: Url? = None

get: public read-only

The proxy endpoint when handling proxy authentication, otherwise None.

property request

source · line 44
public
public val request: HttpRequest

get: public read-only

The request requiring credentials or refreshed tokens.

property attempt

source · line 52
public
public val attempt: Long

get: public read-only

The authentication attempt number for this request sequence.