Esempio n. 1
0
    def check_auth(self, fb_id, cf_token, allowed_roles, resource, method):
        magic_user = get_magic_user()
        if fb_id == magic_user["fbId"] and cf_token == magic_user["cfToken"]:
            return True

        return False