Scoop API

scoop:scoop.http.client:0.1.0

HttpAuthenticator

class HttpAuthenticator

source · line 84
public
public class HttpAuthenticator private constructor(
    /**
     * The exact normalized origin allowed to use this provider.
     */
    public val origin: UrlOrigin,
    realm: List<Byte>?,
    /**
     * Whether known credentials/authentication state may be sent before a new challenge.
     */
    public val sendWithoutChallenge: Boolean,
    internal val provider: ClientAuthenticationProvider
)

An authentication provider scoped to an exact origin and optional realm, with explicit preemptive-send policy.

property realm

source · line 99
public
public val realm: Array<Byte>?

get: public read-only

The optional exact realm-byte restriction.

property origin

source · line 88
public
public val origin: UrlOrigin

get: public read-only

The exact normalized origin allowed to use this provider.

property sendWithoutChallenge

source · line 93
public
public val sendWithoutChallenge: Boolean

get: public read-only

Whether known credentials/authentication state may be sent before a new challenge.