def attempt_by_token(self, token):
    model = self.config.get('jwt').get('model')()
    return model.attempt_by_token(token)
def attempt_by_token(self, token):
    model = self.config.get('jwt').get('model')()
    return model.attempt_by_token(token)