IntuneManagement 4.0.0-beta1

This commit is contained in:
Mikael Karlsson
2026-09-23 19:13:09 +10:00
commit 7869619510
892 changed files with 577109 additions and 0 deletions
+90
View File
@@ -0,0 +1,90 @@
<Border xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
BorderBrush="{DynamicResource BorderColor}" BorderThickness="1" Padding="5"
Background="{DynamicResource WindowBackgroundColor}"
TextElement.Foreground="{DynamicResource TextColor}">
<Grid Name="ProfileInfo">
<Grid.Background>
<SolidColorBrush Color="#FF000000" Opacity="0.0"/>
</Grid.Background>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid Grid.ColumnSpan="2">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBlock Margin="5" Name="txtOrganization" FontWeight="Bold" />
<Button Margin="5" Name="lnkLogout" Content="Sign out" Grid.Column="1" Style="{DynamicResource LinkButton}" HorizontalAlignment="Right"/>
<Button Margin="5,5,5,5" Name="btnProfileClose" Grid.Column="2" Width="22" Height="22"
Content="&#x2715;" ToolTip="Close (Esc)" FontSize="12" Padding="0"
Background="Transparent" BorderThickness="0" Cursor="Hand" />
</Grid>
<TextBlock Margin="5" Name="txtUsername" Grid.Row="1" Grid.Column="2" FontWeight="Bold" FontSize="24" />
<TextBlock Margin="5" Name="txtLogonName" Grid.Row="2" Grid.Column="2" />
<!-- Split provider/auth-type and expiry onto separate lines so they line up
cleanly when the expiry timestamp is long. -->
<TextBlock Margin="5,0,5,0" Name="txtAuthMethod" Grid.Row="6" Grid.ColumnSpan="2" FontStyle="Italic" Foreground="#888" Visibility="Collapsed" />
<TextBlock Margin="5,0,5,4" Name="txtAuthExpiry" Grid.Row="7" Grid.ColumnSpan="2" FontStyle="Italic" Foreground="#888" Visibility="Collapsed" />
<StackPanel Margin="5" Grid.Row="3" Grid.ColumnSpan="2">
<TextBlock Text="Application:" />
<TextBlock Name="txtAppName" />
<TextBlock Name="txtAppId" />
</StackPanel>
<Button Margin="5" Grid.Row="4" Grid.ColumnSpan="2" Name="lnkRequestConsent" Content="Request Consent" ToolTip="Request consent for missing scopes" Cursor="Hand" Style="{DynamicResource LinkButton}" />
<StackPanel Grid.Row="5" Grid.ColumnSpan="2" Orientation="Horizontal">
<Button Margin="5" Name="lnkTokeninfo" Content="Session Info" ToolTip="Show provider session details (MSAL AuthenticationResult, MgContext, etc.)" Cursor="Hand" Style="{DynamicResource LinkButton}" />
<Button Margin="5" Name="lnkAccessTokenInfo" ToolTip="Show the decoded JWT info of the AccessToken" Content="Access Token" Cursor="Hand" Style="{DynamicResource LinkButton}" />
<Button Margin="5" Name="lnkIdTokenInfo" ToolTip="Show the decoded JWT info of the IdToken" Content="Id Token" Cursor="Hand" Style="{DynamicResource LinkButton}" />
<Button Margin="5" Name="lnkEffectivePermissions" ToolTip="What this sign-in can do per policy type: token scopes combined with the user's Intune role" Content="Permissions" Cursor="Hand" Style="{DynamicResource LinkButton}" />
<Button Margin="5" Name="lnkForceRefresh" ToolTip="Force a refresh of the token e.g. after being added to a new role" Content="Refresh" Cursor="Hand" Style="{DynamicResource LinkButton}" />
</StackPanel>
<ScrollViewer Grid.Row="8" Grid.ColumnSpan="2" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" MaxHeight="200">
<Grid Name="grdCachedAccounts" Margin="5,0,5,2" HorizontalAlignment="Stretch" VerticalAlignment="Top" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
</Grid>
</ScrollViewer>
<Grid Name="grdLoginAccount" Grid.Row="9" Grid.ColumnSpan="2" Margin="5,0,5,0" HorizontalAlignment="Stretch" VerticalAlignment="Top" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
</Grid>
<ScrollViewer Grid.Row="10" Grid.ColumnSpan="2" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" MaxHeight="200">
<Grid Name="grdTenantAccounts" Margin="5,0,5,2" HorizontalAlignment="Stretch" VerticalAlignment="Top" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
</Grid>
</ScrollViewer>
</Grid>
</Border>