WebDavAuthenticationMode enum

How package-managed site authentication chooses an Authorization header.

These modes authenticate to the WebDAV server. Proxy authentication remains the responsibility of the underlying HttpClient.

Inheritance
Available extensions

Values

auto → const WebDavAuthenticationMode

Selects Basic or supported Digest through read-only discovery.

Probes with PROPFIND before the first operation; concurrent callers share discovery. Selects Basic from mixed challenges or Digest from a single challenge (MD5 with no qop or qop="auth"). A successful anonymous probe keeps requests anonymous.

basic → const WebDavAuthenticationMode

Sends Basic credentials immediately without probing the server.

Use for known Basic servers or when anonymous discovery does not expose the required authentication. Requires HTTPS unless WebDavAuthenticationConfig.allowInsecureBasic is enabled.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<WebDavAuthenticationMode>
A constant List of the values in this enum, in order of their declaration.