Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyBasicAuth(BasicAuth):
- def check_auth(self,username,password,allowed_roles,resource,method):
- return username == 'secretusername' and password == 'secretpass'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement