23 lines
866 B
C#
23 lines
866 B
C#
using System.Windows;
|
|
using CefSharp;
|
|
using CefSharp.Wpf;
|
|
|
|
namespace WOWS.Framwork.Views
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for MainWindow.xaml
|
|
/// </summary>
|
|
public partial class MainWindow : Window
|
|
{
|
|
public MainWindow()
|
|
{
|
|
InitializeComponent();
|
|
var browser = new ChromiumWebBrowser("https://account.emofid.com/Login?ReturnUrl=%2Fconnect%2Fauthorize%2Fcallback%3Fclient_id%3Deasy2_client_pkce%26redirect_uri%3Dhttps%253A%252F%252Fd.easytrader.emofid.com%252Fauth-callback%26response_type%3Dcode%26scope%3Deasy2_api%2520openid%26state%3D5dfd704832824540a691e497d4613e3a%26code_challenge%3Do0DJ5QnKxCSL3iXpVcfYXfMxuGDWA5YtwBPel4ujhNg%26code_challenge_method%3DS256%26response_mode%3Dquery");;
|
|
Content = browser;
|
|
browser.RequestContext=new RequestContext();
|
|
|
|
|
|
}
|
|
}
|
|
}
|