Ejemplo n.º 1
0
 private void ShowAccessTokenButton_Click(object sender, RoutedEventArgs e)
 {
     if (_response.Values.ContainsKey("access_token"))
     {
         var viewer = new IdentityTokenViewer();
         viewer.IdToken = _response.Values["access_token"];
         viewer.Show();
     }
 }
 private void ShowIdTokenButton_Click(object sender, RoutedEventArgs e)
 {
     if (_response.Values.ContainsKey("id_token"))
     {
         var viewer = new IdentityTokenViewer();
         viewer.IdToken = _response.Values["id_token"];
         viewer.Show();
     }
 }