code: def get_tok(self, tok):
          '''
          Return the name associated with the token, or False if the token is
          not valid
          '''
          tdata = self.tokens["{0}.get_token".format(self.opts['eauth_tokens'])](self.opts, tok)
          if not tdata:
              return {}
  
          rm_tok = False
          if 'expire' not in tdata:
              # invalid token, delete it!
              rm_tok = True
          if tdata.get('expire', '0') < time.time():
              rm_tok = True
          if rm_tok:
              self.rm_token(tok)
  
          return tdatf get_tok(self, tok):
          '''
          Return the name associated with the token, or False if the token is
          not valid
          '''
          tdata = self.tokens["{0}.get_token".format(self.opts['eauth_tokens'])](self.opts, tok)
          if not tdata:
              return {}
  
          rm_tok = False
          if 'expire' not in tdata:
              # invalid token, delete it!
              rm_tok = True
          if tdata.get('expire', '0') < time.time():
              rm_tok = True
          if rm_tok:
              self.rm_token(tok)
  
          return tdata
docs: Return the name associated with the token, or False if the token is
          not valid