code: def get_access_tokens(self, authorization_code):
          
          response = self.box_request.get_access_token(authorization_code)
          try:
              att = response.json()
          except Exception, ex:
              raise BoxHttpResponseError(ex)
  
          if response.status_code >= 400:
              raise BoxError(response.status_code, att)
  
          return att['access_token'], att['refresh_token']
docs: From the authorization code, get the "access token" and the "refresh token" from Box.
  
          Args:
              authorization_code (str). Authorisation code emitted by Box at the url provided by the function :func:`get_authorization_url`.
  
          Returns:
              tuple. (access_token, refresh_token)
  
          Raises:
              BoxError: An error response is returned from Box (status_code >= 400).
  
              BoxHttpResponseError: Response from Box is malformed.
  
              requests.exceptions.*: Any connection related problem.