Manage MFA to login to client based applications. (Client application like workday and SharePoint using Client AD authentication to authenticate)

Hi Team, Any details about
Is it consuming any third party API to get token or Microsoft API are consumed ? what is getting called in background ?