code: def identify(self, req, resp, resource, uri_kwargs):
          
          header = req.get_header('Authorization', False)
          auth = header.split(' ') if header else None
  
          if auth is None or auth[0].lower() != 'token':
              return None
  
          if len(auth) != 2:
              raise HTTPBadRequest(
                  "Invalid Authorization header",
                  "The Authorization header for Token auth should be in form:\n"
                  "Authorization: Token <token_value>"
              )
  
          return auth[1]
docs: Identify user using Authenticate header with Token auth.