DigestNetworkCredential class
A network credential that specifies username/password for a Digest-secured host.
- Inheritance
-
- Object
- NetworkCredential
- DigestNetworkCredential
Constructors
- DigestNetworkCredential({required String host, required String username, required String password})
- Creates a DigestNetworkCredential that provides username/password for the given host.
- DigestNetworkCredential.forChallenge(DigestAuthenticationChallenge challenge, String username, String password)
-
Creates a DigestNetworkCredential for the server specified in the
DigestAuthenticationChallenge.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
The server host this credential applies to.
finalinherited
- password → String
-
The password for the credential.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- username → String
-
The username for the credential.
final
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