def METHOD_NAME(self, code, redirect_uri):
    return {
        "grant_type": "authorization_code",
        "code": code,
        "redirect_uri": redirect_uri,
        "client_id": self.client_id,
        "client_secret": self.client_secret,
    }