Skip to content

hololinked.server.security.Argon2BasicSecurity

Bases: Security

Placeholder for Argon2BasicSecurity when argon2 is not installed. Please install the argon2-cffi library to use Argon2 password security.

Source code in hololinked/hololinked/server/security.py
class Argon2BasicSecurity(Security):
    """
    Placeholder for Argon2BasicSecurity when argon2 is not installed.
    Please install the `argon2-cffi` library to use Argon2 password security.
    """

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