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({String? username, String? password, IOSURLCredentialPersistence? iosPersistence, List<X509Certificate>? iosCertificates})

Properties

hashCode int
The hash code for this object.
no setterinherited
iosCertificates List<X509Certificate>?
The intermediate certificates of the credential, if it is a client certificate credential.
getter/setter pair
iosPersistence IOSURLCredentialPersistence?
The credential’s persistence setting.
getter/setter pair
password String?
The credential’s password.
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>
toMap() Map<String, dynamic>
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?