Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 48768

Api example to MVC

$
0
0

Hi, I used the example "integrate report into webapp" and this works. But now i'm trying to get this code into a MVC structure and i'm getting errors from the redirect. I have installed the package for using Microsoft.IdentityModel.Clients.ActiveDirectory, but the following gives an error:

AuthenticationResult AR = AC.AcquireTokenByAuthorizationCode(code, new Uri(redirectUri), cc);

 

It can't find the AcquireTokenByAuthorizationCode(code, new Uri(redirectUri), cc); method.

Does anybody have an idea how to solve this?


Viewing all articles
Browse latest Browse all 48768

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>