summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdOfflineProvider/CheckIdWindow.xaml
blob: 29e512600072b19f11e7396fe2279fc1483a3241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<Window x:Class="DotNetOpenAuth.OpenIdOfflineProvider.CheckIdWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Authentication request" Height="345" Width="379" ShowInTaskbar="False">
	<DockPanel Margin="12">
		<TextBlock DockPanel.Dock="Top" TextWrapping="Wrap">An authentication request has been received.  How do you want to proceed?</TextBlock>
		<Expander DockPanel.Dock="Top" Header="View request details" IsExpanded="True">
			<Grid>
				<Grid.RowDefinitions>
					<RowDefinition Height="auto" />
					<RowDefinition Height="auto" />
					<RowDefinition Height="auto" />
					<RowDefinition Height="auto" />
					<RowDefinition Height="auto" />
				</Grid.RowDefinitions>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="auto" />
					<ColumnDefinition />
				</Grid.ColumnDefinitions>
				<Label>Immediate?</Label>
				<Label Grid.Column="1" Name="immediateModeLabel" Content="Yes" />
				<Label Grid.Column="1" Name="setupModeLabel" Content="No" />
				<Label Grid.Row="1">Realm</Label>
				<Label Grid.Row="1" Grid.Column="1" Name="realmLabel" />
				<!--<Label Grid.Row="2">Callback</Label>
				<Label Grid.Row="2" Grid.Column="1" Name="callbackLabel" />-->
				<Label Grid.Row="3">Discoverable</Label>
				<Label Grid.Row="3" Grid.Column="1" Name="discoverableYesLabel" Content="Yes" />
				<Label Grid.Row="3" Grid.Column="1" Name="discoverableNoLabel" Content="No" />
				<!--<Label Grid.Row="4">Shared association?</Label>
				<Label Grid.Row="4" Grid.Column="1" Name="sharedAssociationLabel" Content="Yes" />
				<Label Grid.Row="4" Grid.Column="1" Name="privateAssociationLabel" Content="No" />-->
			</Grid>
		</Expander>
		<StackPanel DockPanel.Dock="Bottom" HorizontalAlignment="Right" Orientation="Horizontal" Margin="0,12,0,0">
			<Button Name="sendResponseButton" IsDefault="True" Margin="0,0,4,0" Click="sendResponseButton_Click">Send response</Button>
			<Button Name="cancelButton" IsCancel="True">Cancel</Button>
		</StackPanel>

		<TabControl Name="tabControl1">
			<TabItem Header="Positive assertion" Name="positiveTab">
				<StackPanel>
					<TextBlock TextWrapping="Wrap">You may customize the positive assertion if you wish.</TextBlock>
					<Grid>
						<Grid.RowDefinitions>
							<RowDefinition Height="auto" />
							<RowDefinition Height="auto" />
							<RowDefinition Height="auto" />
							<RowDefinition Height="auto" />
						</Grid.RowDefinitions>
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="auto" />
							<ColumnDefinition Width="*" />
						</Grid.ColumnDefinitions>
						<Label>Claimed identifier</Label>
						<TextBox Grid.Column="1" Name="claimedIdentifierBox" />
						<Label Grid.Row="1">OP Local identifier</Label>
						<TextBox Grid.Column="1" Grid.Row="1" Name="localIdentifierBox" />
						<!--<Label Grid.Row="2">Association</Label>
						<WrapPanel Grid.Row="2" Grid.Column="1" VerticalAlignment="Center">
							<RadioButton Margin="0,0,12,0" GroupName="AssociationType">Shared</RadioButton>
							<RadioButton GroupName="AssociationType">Private</RadioButton>
						</WrapPanel>-->
					</Grid>
				</StackPanel>
			</TabItem>
			<TabItem Header="Negative assertion" Name="negativeTab">
				<TextBlock TextWrapping="Wrap">There is nothing to customize in a negative assertion.</TextBlock>
			</TabItem>
			<!--<TabItem Header="Error" Name="errorTab" >
				<StackPanel>
					<TextBlock TextWrapping="Wrap">What message do you want to send describing the simulated error?</TextBlock>
					<TextBox TextWrapping="Wrap" />
				</StackPanel>
			</TabItem>
			<TabItem Header="Invalid" Name="invalidTab">
				<StackPanel>
					<TextBlock TextWrapping="Wrap">This tab is useful for testing a relying party's resiliance to invalid responses.</TextBlock>
					<TextBlock TextWrapping="Wrap">But it's not implemented yet. :)</TextBlock>
				</StackPanel>
			</TabItem>-->
		</TabControl>
	</DockPanel>
</Window>