UserPasswordCredentials
classView source ↗
class UserPasswordCredentials(user: str | Secret, password: str | Secret)
Bases: Credentials
Categories: credentials
Credentials class to store a user and password pair.
Attributes: user (Secret): The user. password (Secret): The password.
Methods: to_dict() -> dict: Convert the UserPasswordCredentials object to a dictionary.
Initialize the UserPasswordCredentials object.
Parameters
parameter
userstr | SecretThe user.
parameter
passwordstr | SecretThe password
Properties
property
passwordSecretThe password.
property
userSecretThe user.