Refractor token auth stuff to use identiycore framework
This commit is contained in:
parent
f8d7581a12
commit
8f7df85d49
14 changed files with 377 additions and 50 deletions
|
@ -1,9 +1,10 @@
|
|||
using API.Entities;
|
||||
using System.Threading.Tasks;
|
||||
using API.Entities;
|
||||
|
||||
namespace API.Interfaces
|
||||
{
|
||||
public interface ITokenService
|
||||
{
|
||||
string CreateToken(AppUser user);
|
||||
Task<string> CreateToken(AppUser user);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue