@@ -358,7 +358,8 @@ methods:
358358 Since MSAL Python 1.23, it will automatically look for token from cache,
359359
360360 and only send request to Identity Provider when cache misses.'
361- signature : acquire_token_for_client(scopes, claims_challenge=None, **kwargs)
361+ signature : acquire_token_for_client(scopes, claims_challenge=None, fmi_path=None,
362+ **kwargs)
362363 parameters :
363364 - name : scopes
364365 description : ' (Required)
@@ -379,6 +380,19 @@ methods:
379380 It is a string of a JSON object which contains lists of claims being requested
380381 from these locations.'
381382 defaultValue : None
383+ - name : fmi_path
384+ description : " Optional. The Federated Managed Identity (FMI) credential path.\n \
385+ When provided, it is sent as the `fmi_path` parameter in the\n token request\
386+ \ body, and the resulting token is cached separately\n so that different FMI\
387+ \ paths do not share cached tokens.\n Example usage:\n\n <!-- literal_block {\" \
388+ ids\" : [], \" classes\" : [], \" names\" : [], \" dupnames\" : [], \" backrefs\" : [],\
389+ \ \" xml:space\" : \" preserve\" , \" language\" : \" default\" , \" force\" : false,\
390+ \ \" linenos\" : false} -->\n\n ````default\n\n result = cca.acquire_token_for_client(\n \
391+ \ scopes=[\" api://resource/.default\" ],\n fmi_path=\" SomeFmiPath/FmiCredentialPath\" \
392+ ,\n )\n ````"
393+ defaultValue : None
394+ types :
395+ - <xref:str>
382396 return :
383397 description : " A dict representing the json response from Microsoft Entra:\n\n \
384398 * A successful response would contain \" access_token\" key, \n\n * an error response\
0 commit comments