Commit 26bb422b authored by Steve Sanderson's avatar Steve Sanderson
Browse files

Move UserStateProvider into ComponentsLibrary

parent 285e4b15
......@@ -5,4 +5,5 @@
@using Microsoft.JSInterop
@using BlazingPizza.Client
@using BlazingPizza.Client.Shared
@using BlazingPizza.ComponentsLibrary.Authentication
@addTagHelper "*, BlazingPizza.ComponentsLibrary"
namespace BlazingPizza
namespace BlazingPizza.ComponentsLibrary.Authentication
{
public class UserState
{
......
@inject HttpClient HttpClient
@using Microsoft.JSInterop
@using System.Net.Http
@inject HttpClient HttpClient
@inject IJSRuntime JSRuntime
<CascadingValue Value="@this">
......
using Microsoft.AspNetCore.Authentication;
using BlazingPizza.ComponentsLibrary.Authentication;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.Twitter;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace BlazingPizza.Server
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment