Skip to content

ITokenGeneratorService

// RB2 Core Connect
using System.Security.Claims;
namespace CoreConnect.Commerce.Customer;
public interface ITokenGeneratorService
{
string GenerateJWTToken(IEnumerable<Claim> claims, DateTime? expires = null, bool isRenewal = false);
IEnumerable<Claim>? ValidateRenewalToken(string token);
IEnumerable<Claim> GetJWTClaims(string token);
}