Scoop API

scoop:scoop.http.client:0.1.0

HttpAuthenticationOptions

class HttpAuthenticationOptions

source · line 63
public
public class HttpAuthenticationOptions internal constructor(
    providers: List<HttpAuthenticator> = emptyList<HttpAuthenticator>(),
    /**
     * Maximum authentication retries; zero disables retries.
     */
    public val maxAttempts: Long = 3L
)

Ordered authentication providers and a finite retry limit. Origin and proxy authentication maintain independent state.

Extensions

property maxAttempts

source · line 68
public
public val maxAttempts: Long = 3L

get: public read-only

Maximum authentication retries; zero disables retries.