Table of Contents

Interface ISessionRefreshTokenService

Namespace
SEBT.Portal.Core.Services
Assembly
SEBT.Portal.Core.dll

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

user User
currentPrincipal ClaimsPrincipal

Returns

string