tabsdata.UserPasswordCredentials#

class UserPasswordCredentials(user: str | dict | Secret, password: str | dict | Secret)[source]#

Bases: Credentials

Credentials class to store a user and password pair.

user#

The user.

Type:

Secret

password#

The password.

Type:

Secret

to_dict() dict[source]#

Convert the UserPasswordCredentials object to a dictionary.

__init__(user: str | dict | Secret, password: str | dict | Secret)[source]#

Initialize the UserPasswordCredentials object.

Parameters:
  • user (str | dict | Secret) – The user.

  • password (str | dict | Secret) – The password

Methods

__init__(user, password)

Initialize the UserPasswordCredentials object.

Attributes

password

The password.

user

The user.