bluesky_httpserver.authenticators.DictionaryAuthenticator
- class bluesky_httpserver.authenticators.DictionaryAuthenticator(users_to_passwords)[source]
For test and demo purposes only!
Check passwords from a dictionary of usernames mapped to passwords.
- Parameters:
- users_to_passwords: dict(str, str)
Mapping of usernames to passwords.
Methods
__init__(users_to_passwords)authenticate(username, password)Attributes
configuration_schemamode