private void _btnSignin_Click(object sender, RoutedEventArgs e) { var signin = new JSNotifySignInWindow { EndpointUrl = new Uri(string.Format("https://{0}/idsrv/issue/jsnotify?realm={1}&tokenType={2}", Constants.IdSrv, Constants.Realm, "http://schemas.xmlsoap.org/ws/2009/11/swt-token-profile-1.0")) }; signin.SignIn(); }
void _signin_SignedIn(object sender, JSNotifySignInWindow.SignedInEventArgs e) { _response = e.Response; _txtDebug.Text = e.Response.AccessToken; }