CredentialPair class

The combination of user name and password that are used as credentials.

Constructors

CredentialPair({required String password, required String username, List<DataSourceParameters>? alternateDataSourceParameters})

Properties

alternateDataSourceParameters List<DataSourceParameters>?
A set of alternate data source parameters that you want to share for these credentials. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allow list. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If the AlternateDataSourceParameters list is null, the DataSourceParameters originally used with these Credentials is automatically allowed.
final
hashCode int
The hash code for this object.
no setterinherited
password String
Password.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String
User name.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited