Interface ISessionRefreshTokenService
Generates a refreshed portal JWT by copying claims from the current session's System.Security.Claims.ClaimsPrincipal. The user entity is used only for the internal user ID (JWT sub claim).
public interface ISessionRefreshTokenService
Methods
GenerateForSessionRefresh(User, ClaimsPrincipal)
string GenerateForSessionRefresh(User user, ClaimsPrincipal currentPrincipal)
Parameters
userUsercurrentPrincipalClaimsPrincipal
Returns
- string