BasicNetworkCredential class

A network credential that specifies username/password for a Basic-secured host.

Inheritance

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

hashCode int
The hash code for this object.
no setterinherited
host String
The server host this credential applies to.
finalinherited
password String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String
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