mirror of
https://github.com/fergalmoran/podnoms.git
synced 2025-12-24 02:07:50 +00:00
SignalR auth working
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
using System.Linq;
|
||||
using System.Security.Claims;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using PodNoms.Api.Services.Auth;
|
||||
|
||||
[Authorize]
|
||||
public class BaseAuthController : Controller {
|
||||
private readonly ClaimsPrincipal _caller;
|
||||
protected readonly UserManager<ApplicationUser> _userManager;
|
||||
|
||||
Reference in New Issue
Block a user