code: def create_token_role(self, role,
                            allowed_policies=None, disallowed_policies=None,
                            orphan=None, period=None, renewable=None,
                            path_suffix=None, explicit_max_ttl=None):
          
          params = {
              'allowed_policies': allowed_policies,
              'disallowed_policies': disallowed_policies,
              'orphan': orphan,
              'period': period,
              'renewable': renewable,
              'path_suffix': path_suffix,
              'explicit_max_ttl': explicit_max_ttl
          }
          return self._adapter.post('/v1/auth/token/roles/{0}'.format(role), json=params)
docs: POST /auth/token/roles/<role>
  
          :param role:
          :type role:
          :param allowed_policies:
          :type allowed_policies:
          :param disallowed_policies:
          :type disallowed_policies:
          :param orphan:
          :type orphan:
          :param period:
          :type period:
          :param renewable:
          :type renewable:
          :param path_suffix:
          :type path_suffix:
          :param explicit_max_ttl:
          :type explicit_max_ttl:
          :return:
          :rtype: