def authenticate_user(self, credential):
     return UserService.get(credential.resource_owner.id)
Example #2
0
def load_user(user_id):
    return UserService.get(user_id)
 def authenticate_user(self, authorization_code):
     return UserService.get(authorization_code.resource_owner.id)