code: def get_auth_session(self, method='POST', **kwargs):
          '''
          Gets an access token, intializes a new authenticated session with the
          access token. Returns an instance of :attr:`session_obj`.
  
          :param method: A string representation of the HTTP method to be used,
              defaults to `POST`.
          :type method: str
          :param \*\*kwargs: Optional arguments. Same as Requests.
          :type \*\*kwargs: dict
          '''
          session = self.get_session(self.get_access_token(method, **kwargs))
  
          if self.access_token_response:
              session.access_token_response = self.access_token_response
  
          return sessiof get_auth_session(self, method='POST', **kwargs):
          '''
          Gets an access token, intializes a new authenticated session with the
          access token. Returns an instance of :attr:`session_obj`.
  
          :param method: A string representation of the HTTP method to be used,
              defaults to `POST`.
          :type method: str
          :param \*\*kwargs: Optional arguments. Same as Requests.
          :type \*\*kwargs: dict
          '''
          session = self.get_session(self.get_access_token(method, **kwargs))
  
          if self.access_token_response:
              session.access_token_response = self.access_token_response
  
          return session
docs: Gets an access token, intializes a new authenticated session with the
          access token. Returns an instance of :attr:`session_obj`.
  
          :param method: A string representation of the HTTP method to be used,
              defaults to `POST`.
          :type method: str
          :param \*\*kwargs: Optional arguments. Same as Requests.
          :type \*\*kwargs: dict