original_docstring: Invalidates an authentication token, but leaves it in place for auditing purposes.
          
docstring: Invalidates an authentication token, but leaves it in place for auditing purposes.
docstring_tokens: Invalidates an authentication token but leaves it in place for auditing purposes .
code: def invalidate_authentication_token(self, token_string=''):
          """Invalidates an authentication token, but leaves it in place for auditing purposes.
          """
          token_id = "token_%s" % token_string
          token = self.container.object_store.read(token_id)
          if not isinstance(token, SecurityToken):
              raise Inconsistent("Token illegal type")
          if token.token_type != TokenTypeEnum.ACTOR_AUTH:
              raise BadRequest("Illegal token type")
          token.status = "INVALID"
          self.container.object_store.update(token)
          log.info("Invalidated security auth token: %s", token.token_string)
code_tokens: def invalidate_authentication_token ( self , token_string = '' ) : token_id = "token_%s" % token_string token = self . container . object_store . read ( token_id ) if not isinstance ( token , SecurityToken ) : raise Inconsistent ( "Token illegal type" ) if token . token_type != TokenTypeEnum . ACTOR_AUTH : raise BadRequest ( "Illegal token type" ) token . status = "INVALID" self . container . object_store . update ( token ) log . info ( "Invalidated security auth token: %s" , token . token_string )
short_docstring: Invalidates an authentication token, but leaves it in place for auditing purposes.
short_docstring_tokens: Invalidates an authentication token but leaves it in place for auditing purposes .
comment: """Invalidates an authentication token, but leaves it in place for auditing purposes.
          """