docstr: Generates new bearer token for the credentials
  
  Returns
  None
docstr_tok: ["Generates","new","bearer","token","for","the","credentials","Returns","None"]
code: def get_bearer_token(self) -> None:
      """
      Generates new bearer token for the credentials
  
      Returns
      None
      """
      response = bearer_token_request(
          client_id=self.client_id,
          tenant_id=self.tenant_id,
          client_secret=self.client_secret,
      )
      self.bearer_token = response["access_token"]
      self.expiration_time = int(response["expires_on"])
      self.is_connected = True
  
imports: from datetime import datetime, timezone
  from typing import Text, List, Dict, Any
  from mindsdb.integrations.handlers.sharepoint_handler.utils import bearer_token_request, get_an_entity, delete_an_entity, update_an_entity, create_an_entity
label_desc: Use image node_id 2 for calling the SharepointAPI obj's underlying member method code with example usage: obj.get_bearer_token() without return types