Skip to content

Commit

Permalink
Remove unused usings in Blazor
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdecock committed Aug 16, 2024
1 parent 6ddb9ea commit fe3a2f0
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 16 deletions.
1 change: 0 additions & 1 deletion samples/Apis/Api.DPoP/EchoController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

using Microsoft.AspNetCore.Mvc;
using System;
using System.Globalization;
using System.Security.Claims;
using Microsoft.AspNetCore.Authorization;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@using Microsoft.AspNetCore.Components.Authorization
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">

<head>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@using PerComponent.Components
@inherits LayoutComponentBase
@inherits LayoutComponentBase

<div class="page">
<div class="sidebar">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@using PerComponent.Client.Components

@rendermode InteractiveServer
@rendermode InteractiveServer

<CallApi Header="InteractiveServer"></CallApi>
3 changes: 0 additions & 3 deletions samples/Blazor/PerComponent/PerComponent/Program.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
using PerComponent;
using PerComponent.Client;
using PerComponent.Components;
using Duende.AccessTokenManagement.OpenIdConnect;
using Duende.Bff;
using Duende.Bff.Blazor;
using Duende.Bff.Yarp;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Components.Authorization;

var builder = WebApplication.CreateBuilder(args);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Components.Server;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;

// This is based on the PersistingServerAuthenticationStateProvider from ASP.NET
Expand Down
4 changes: 0 additions & 4 deletions src/Duende.Bff/General/DefaultAccessTokenRetriever.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
// Copyright (c) Duende Software. All rights reserved.
// See LICENSE in the project root for license information.

using System;
using System.Threading.Tasks;
using Duende.Bff.Logging;
using IdentityModel;
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;

namespace Duende.Bff;
Expand Down

0 comments on commit fe3a2f0

Please sign in to comment.