Update asp.net authentication claims

I have an asp.net application, for authentication I use claims-based authentication. By default, asp stores user requests in a cookie (I think).

I have an admin panel, the administrator can change user requirements. For example, user A claims to be “CRUD” (for ClaimType = “Document”), the administrator decides to change “CRUD” to “CRU” (D is omitted).

The user has a “CRUD” claim before the expiration of his cookie because he logged in before the administrator made the decision.

how can we force update a user's cookie in order to have CRU claims.

+5
source share

Source: https://habr.com/ru/post/1247417/


All Articles