Created
September 17, 2014 09:41
-
-
Save hpk42/f11374c75e04215d3776 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def devpiserver_auth(userconfig, user, password): | |
# if we know about the user and password is correct | |
return dict(status="ok", groups=[...]) | |
# if we know about the user and the password is incorrect | |
return dict(status="reject") | |
# if we don't know about the user | |
# other plugins may still try verification | |
return dict(status="unknown") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment