Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MSAL/ADAL C++ equivalent to get access tokens

Is there a MSAL/ADAL equivalent for C++ ? I would like to natively support getting access tokens for Azure in C++ (rather than build a bridge of some kind by using python version.)

Thank you

like image 876
Rags Avatar asked Jan 13 '20 14:01

Rags


People also ask

How do I get Msal access token?

In MSAL, you can get access tokens for the APIs your app needs to call using the acquireTokenSilent method which makes a silent request(without prompting the user with UI) to Azure AD to obtain an access token.

Is Adal deprecated?

All Microsoft support and development for ADAL, including security fixes, ends in December, 2022. There are no ADAL feature releases or new platform version releases planned prior to December, 2022. No new features have been added to ADAL since June 30, 2020.

What is the difference between Adal and Msal?

ADAL.NET used AuthenticationContext as the representation of your connection to the Security Token Service (STS) or authorization server, through an Authority. MSAL.NET is designed around client applications.

What is Adal token?

Microsoft Azure Active Directory Authentication Library (ADAL) is a tool in the . NET framework that lets client applications developers authenticate users to an on-premises Active Directory deployment or to the cloud. ADAL will then secure API calls by locating tokens for access.


1 Answers

I am the current contact at Microsoft for both MSAL or ADAL C++.

Microsoft has MSAL C++ in development and it will eventually be open source. Its code is used in major products made my Microsoft. ADAL C++ is not released externally and is not open source.

Our guidance is to interop with Python or .NET at this time.

like image 52
amit Avatar answered Oct 28 '22 07:10

amit