URLCredential class
Class that represents an authentication credential consisting of information specific to the type of credential and the type of persistent storage to use, if any.
Constructors
-
URLCredential({List<
X509Certificate> ? certificates, @Deprecated('Use certificates instead') List<X509Certificate> ? iosCertificates, @Deprecated('Use persistence instead') IOSURLCredentialPersistence? iosPersistence, String? password, URLCredentialPersistence? persistence, String? username})
Properties
-
certificates
↔ List<
X509Certificate> ? -
The intermediate certificates of the credential, if it is a client certificate credential.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
iosCertificates
↔ List<
X509Certificate> ? -
Use certificates instead.
getter/setter pair
- iosPersistence ↔ IOSURLCredentialPersistence?
-
Use persistence instead.
getter/setter pair
- password ↔ String?
-
The credential’s password.
getter/setter pair
- persistence ↔ URLCredentialPersistence?
-
The credential’s persistence setting.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- username ↔ String?
-
The credential’s user name.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts instance to a map.
-
toMap(
) → Map< String, dynamic> - Converts instance to a map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? map) → URLCredential? - Gets a possible URLCredential instance from a Map value.