in fbauthenticator/authenticator.py [0:0]
def _get_app_secret_proof(self, access_token):
""" Generate the app_secret_proof """
return hmac.new(
self.client_secret.encode(),
access_token.encode(),
hashlib.sha256
).hexdigest()