IdentityLibrary - Reload claims every 30 minutes, check IdentityUser.Enabled #56777
Unanswered
DavidThielen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all;
I am using the Identity Library and want to add a couple of things to it. First, I have extended IdentityUser to:
The additional functionality I want to add is:
RereadClaims(ExIdentityUser user)
that will force a re-read of that user's claimsI think RevalidatingServerAuthenticationStateProvider will do some of this, specifically:
How can I accomplish the re-read of the claims. I don't need to re-read them myself, I just need to force the re-read. And I do not want to call ForceLogout(), I just want the claims re-read.
And it's fine if I make whatever call and that means that the claims will be re-read the next time the Identity Library checks the cached Principal. It does not have to happen instantly.
For the curious, this is why I want to add this functionality:
thanks - dave
Beta Was this translation helpful? Give feedback.
All reactions