Skip to content
This repository has been archived by the owner on Jul 31, 2019. It is now read-only.

How to get authorization result with user assertion when second visiting? #34

Open
ClareMu opened this issue Dec 11, 2015 · 0 comments
Open

Comments

@ClareMu
Copy link

ClareMu commented Dec 11, 2015

Hi,
In the sample code, graph API needed authorization is got from Authorization cached when logging into AAD, but AAD will cache the user logging info, which means when I visit the restAPI in the second time, I don't need to log in again, so I won't have Authorization cached, authContext.AcquireTokenSilent(graphResourceId, credential, new UserIdentifier(userObjectID, UserIdentifierType.UniqueId));
these code can not read the property authorization.

My question is, is there another way to read authorization with user assertion from context when user visit the API in second time?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant