Skip to content

PromptAgent

indent staticmethod

indent(text: str)

password_req_to_policy staticmethod

password_req_to_policy(password_req: list[str])

Small function that receives password requirements as a list of strings like "Length(8)" and returns a corresponding PasswordPolicy object.

prompt_welcome classmethod

prompt_welcome()

prompt_and_set_token classmethod

prompt_and_set_token(
    user_auth_handler: UserAuthenticationClient,
)

prompt_terms_and_cond classmethod

prompt_terms_and_cond() -> bool

prompt_add_user_information classmethod

prompt_add_user_information() -> dict

prompt_reusing_existing_token classmethod

prompt_reusing_existing_token()

reverify_email classmethod

reverify_email(
    access_token,
    user_auth_handler: UserAuthenticationClient,
)

prompt_retrieved_greeting_messages classmethod

prompt_retrieved_greeting_messages(
    greeting_messages: list[str],
)

prompt_confirm_password_for_user_account_deletion classmethod

prompt_confirm_password_for_user_account_deletion() -> str

prompt_account_deleted classmethod

prompt_account_deleted()