Skip to content

featurebyte.UsernamePasswordCredential

class UsernamePasswordCredential(
*,
type: Literal["USERNAME_PASSWORD"]="USERNAME_PASSWORD",
username: StrictStr,
password: StrictStr
)

Description

Data class for a username and password credential.

Parameters

  • type: Literal["USERNAME_PASSWORD"]
    default: "USERNAME_PASSWORD"

  • username: StrictStr
    Username of your account.

  • password: StrictStr
    Password of your account.

Examples

>>> username_password_credential = UsernamePasswordCredential(
...   username="username",
...   password="password",
... )