'Fetch the client secret from the database. This method signature is
required by the oauthlib library.
:return: the client secret that corresponds to the supplied key if
present, or None if the key does not exist in the database.'

def get_client_secret(self, client_key, request):

    return self.lti_consumer.consumer_secret
