Skip to content

hololinked.server.security.BcryptBasicSecurity

Bases: Security

Placeholder for BcryptBasicSecurity when bcrypt is not installed. Please install the bcrypt library to use Bcrypt password security and see the actual docstrings.

Source code in hololinked/hololinked/server/security.py
class BcryptBasicSecurity(Security):
    """
    Placeholder for BcryptBasicSecurity when bcrypt is not installed.
    Please install the `bcrypt` library to use Bcrypt password security and see the actual docstrings.
    """

    def __init__(self, username: str, password: str, expect_base64: bool = True, name: str = "") -> None:
        raise ImportError("bcrypt library is required for BcryptBasicSecurity")