diff options
Diffstat (limited to 'distixapi/authn.py')
-rw-r--r-- | distixapi/authn.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/distixapi/authn.py b/distixapi/authn.py index f95f74d..9875929 100644 --- a/distixapi/authn.py +++ b/distixapi/authn.py @@ -36,3 +36,7 @@ class AuthenticationError(Exception): def encrypt_password(salt, password): return scrypt.hash(password, salt) + + +def get_scopes(users, request): + raise AuthenticationError('foo') |