I have a win 8 app in which I want to authenticate ADFS user based on role. I am using code like this
AuthenticationContext authenticationContext = new AuthenticationContext("https://login.windows.net/" + domainName);AuthenticationResult result = await authenticationContext.AcquireTokenAsync(resourceAppIDUri, clientID);
if (AuthenticationStatus.Succeeded != result.Status)
{}
If I succeeded than I want to authorize user against role. Is there any way?