code: def authenticate(self):
          
          if self._auth_token is None or self._token_expiry < time.time():
              self._perform_auth()
  
          yield self._auth_token
docs: Authenticates with the PA Oauth system