roadie/Roadie.Api.Services/ITokenService.cs

11 lines
No EOL
265 B
C#

using Microsoft.AspNetCore.Identity;
using Roadie.Library.Identity;
using System.Threading.Tasks;
namespace Roadie.Api.Services
{
public interface ITokenService
{
Task<string> GenerateTokenAsync(User user, UserManager<User> userManager);
}
}