Skip to main content
Version: 1.5.0

UserPasswordCredentials

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 | Secret

The user.

parameter
passwordstr | Secret

The password

Properties

property
passwordSecret

The password.

property
userSecret

The user.