'Generate Key Authorization.
:param JWK account_key:
:rtype unicode:'

def key_authorization(self, account_key):

    return ((self.encode('token') + '.') + jose.b64encode(account_key.thumbprint(hash_function=self.thumbprint_hash_function)).decode())
