Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AuthenticationContext authContext = null;
- AuthenticationResult authResult;
- try
- {
- authContext = new AuthenticationContext(authority, false);
- authResult = await authContext.AcquireTokenAsync(resource, clientId, new Uri(returnUri),
- new PlatformParameters(PromptBehavior.Auto, false));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement