I am tring to add
private void ConfigureExternalProviders(ServiceConfigurationContext context)
{
context.Services.AddAuthentication()
.AddMicrosoftIdentityWebApi( ..... )
but i cannot find the parameters for function. What are the right parameters?
After the login i have to make this kind of call:
var accessToken = await m_tokenAcquisition.GetAccessTokenForUserAsync(Configuration["AzureAd:Scopes:0"].Split(" "));
// Get username of logged in user
var userInfo = await m_graphServiceClient.Me.Request().GetAsync();
var userName = userInfo.DisplayName;
AuthDetails authDetails = new AuthDetails
{
UserName = userName,
AccessToken = accessToken
};
How can i do this?
Best Regards.
It works. Thank you very much
Thank You. I'll check it as soon as possible
Hi,
it's possible to have the source code example of the demo https://x.leptontheme.com for Anguar UI?
Best Regards
Fabio Z.