This repository was archived by the owner on Jan 24, 2025. It is now read-only.
Commit fe3a2f0 1 parent 6ddb9ea commit fe3a2f0 Copy full SHA for fe3a2f0
File tree 7 files changed +3
-16
lines changed
Blazor/PerComponent/PerComponent
7 files changed +3
-16
lines changed Original file line number Diff line number Diff line change 3
3
4
4
using Microsoft . AspNetCore . Mvc ;
5
5
using System ;
6
- using System . Globalization ;
7
6
using System . Security . Claims ;
8
7
using Microsoft . AspNetCore . Authorization ;
9
8
Original file line number Diff line number Diff line change 1
- @using Microsoft .AspNetCore .Components .Authorization
2
- <!DOCTYPE html>
1
+ <!DOCTYPE html>
3
2
<html lang =" en" >
4
3
5
4
<head >
Original file line number Diff line number Diff line change 1
- @using PerComponent .Components
2
- @inherits LayoutComponentBase
1
+ @inherits LayoutComponentBase
3
2
4
3
<div class =" page" >
5
4
<div class =" sidebar" >
Original file line number Diff line number Diff line change 1
- @using PerComponent .Client .Components
2
-
3
- @rendermode InteractiveServer
1
+ @rendermode InteractiveServer
4
2
5
3
<CallApi Header =" InteractiveServer" ></CallApi >
Original file line number Diff line number Diff line change 1
1
using PerComponent ;
2
2
using PerComponent . Client ;
3
3
using PerComponent . Components ;
4
- using Duende . AccessTokenManagement . OpenIdConnect ;
5
4
using Duende . Bff ;
6
5
using Duende . Bff . Blazor ;
7
6
using Duende . Bff . Yarp ;
8
- using Microsoft . AspNetCore . Authentication ;
9
- using Microsoft . AspNetCore . Components . Authorization ;
10
7
11
8
var builder = WebApplication . CreateBuilder ( args ) ;
12
9
Original file line number Diff line number Diff line change 8
8
using Microsoft . AspNetCore . Components . Authorization ;
9
9
using Microsoft . AspNetCore . Components . Server ;
10
10
using Microsoft . AspNetCore . Components . Web ;
11
- using Microsoft . AspNetCore . Http ;
12
11
using Microsoft . Extensions . Logging ;
13
12
14
13
// This is based on the PersistingServerAuthenticationStateProvider from ASP.NET
Original file line number Diff line number Diff line change 1
1
// Copyright (c) Duende Software. All rights reserved.
2
2
// See LICENSE in the project root for license information.
3
3
4
- using System ;
5
4
using System . Threading . Tasks ;
6
- using Duende . Bff . Logging ;
7
- using IdentityModel ;
8
- using Microsoft . AspNetCore . Authentication ;
9
5
using Microsoft . Extensions . Logging ;
10
6
11
7
namespace Duende . Bff ;
You can’t perform that action at this time.
0 commit comments