msal_requests_auth/auth/client_credential.py
def _get_access_token(self):
        """
        Retrieve access token from MSAL using client credential flow.

        Based on: https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-daemon-acquire-token?tabs=python#acquiretokenforclient-api
        """
        result = self.client.acquire_token_silent(scopes=self.scopes, account=None)
        if not result:
            # "No suitable token exists in cache. Get a new one from AAD
            result = self.client.acquire_token_for_client(scopes=self.scopes)
        return result

        Retrieve access token from MSAL using client credential flow.

        Based on: https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-daemon-acquire-token?tabs=python#acquiretokenforclient-api
        
Retrieve access token from MSAL using client credential flow.
Retrieve access token from MSAL using client credential flow .
def _get_access_token(self):
        result = self.client.acquire_token_silent(scopes=self.scopes, account=None)
        if not result:
            result = self.client.acquire_token_for_client(scopes=self.scopes)
        return result
def _get_access_token ( self ) : result = self . client . acquire_token_silent ( scopes = self . scopes , account = None ) if not result : result = self . client . acquire_token_for_client ( scopes = self . scopes ) return result
Retrieve access token from MSAL using client credential flow.
Retrieve access token from MSAL using client credential flow .
"""
        Retrieve access token from MSAL using client credential flow.

        Based on: https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-daemon-acquire-token?tabs=python#acquiretokenforclient-api
        """ # "No suitable token exists in cache. Get a new one from AAD
self