Context:
Currently my webAPI uses the OBO flow to call the downstream web API. The way I have configured this is using ITokenAcquisition.GetAccessTokenForUserAsync(..)
. We are adding another functionality to a do a bulk operation for which OBO token initiated will expire and am looking into long OBO process.
Issue
However, when reading the document for long running web API the interface used is IConfidentialClientApplication versus ITokenAcquisition. Both these interfaces per official documentation are used for acquiring OBO token.
Questions
- Is there a scenario where one should be used versus other and why?
- what should I be using for my specific use case for bulk operation/ long running oBO?