def getExtensionArgs(self):
        ns_args = {
            'auth_policies':' '.join(self.auth_policies),
            }

        if self.nist_auth_level is not None:
            if self.nist_auth_level not in range(0, 5):
                raise ValueError('nist_auth_level must be an integer between '
                                 'zero and four, inclusive')
            ns_args['nist_auth_level'] = str(self.nist_auth_level)

        if self.auth_age is not None:
            if self.auth_age < 0:
                raise ValueError('Auth age must be above zero')

            ns_args['auth_age'] = str(int(self.auth_age))

        return ns_args
When an unknown command is sent directly (not through public API), the
dataset/ETHPy150Open CollabQ/CollabQ/openid/extensions/pape.py/Response.getExtensionArgs--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_memcache.py/MemCacheTestCase.test_invalidCommand