BasicNetworkCredential class
A network credential that specifies username/password for a Basic-secured host.
- Inheritance
-
- Object
- NetworkCredential
- BasicNetworkCredential
Constructors
- BasicNetworkCredential.new({required String host, required String username, required String password})
- Creates a BasicNetworkCredential that provides username/password for the given host.
- BasicNetworkCredential.forChallenge(BasicAuthenticationChallenge challenge, String username, String password)
-
Creates a BasicNetworkCredential for the server specified in the
BasicAuthenticationChallenge.
factory
Properties
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