Versatile OpenID Connect stack for ASP.NET Core and Microsoft.Owin (compatible with ASP.NET 4.6.1)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
1.5 KiB

<Window x:Class="OpenIddict.Sandbox.Wpf.Client.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Title="OpenIddict WPF client" Height="500" Width="800">
<Grid>
<Button Name="LocalLogin" Content="Log in using the local server"
VerticalAlignment="Top" HorizontalAlignment="Center"
Height="64" Width="540" FontSize="20" Margin="0,35,0,0"
Click="LocalLoginButton_Click" />
<Button Name="LocalLoginWithGitHub" Content="Log in using the local server (preferred service: GitHub)"
VerticalAlignment="Top" HorizontalAlignment="Center"
Height="64" Width="540" FontSize="20" Margin="0,125,0,0"
Click="LocalLoginWithGitHubButton_Click" />
<Button Name="GitHubLogin" Content="Log in using GitHub"
VerticalAlignment="Top" HorizontalAlignment="Center"
Height="64" Width="540" FontSize="20" Margin="0,215,0,0"
Click="GitHubLoginButton_Click" />
<Button Name="LocalLogout" Content="Log out from the local server"
VerticalAlignment="Bottom" HorizontalAlignment="Center"
Height="64" Width="540" FontSize="20" Margin="0,0,0,35"
Click="LocalLogoutButton_Click" />
</Grid>
</Window>