daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Oct 12th, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. AuthenticationContext authContext = null;
  2. AuthenticationResult authResult;
  3. try
  4. {
  5.     authContext = new AuthenticationContext(authority, false);
  6.     authResult = await authContext.AcquireTokenAsync(resource, clientId, new Uri(returnUri),
  7.                     new PlatformParameters(PromptBehavior.Auto, false));
  8. }
RAW Paste Data
Top