Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Current claims available in EventService implementation #3153

Closed
1 task done
szymongaertig opened this issue Aug 22, 2016 · 2 comments
Closed
1 task done

Current claims available in EventService implementation #3153

szymongaertig opened this issue Aug 22, 2016 · 2 comments
Labels

Comments

@szymongaertig
Copy link
Contributor

szymongaertig commented Aug 22, 2016

Question

I registered a EventService in this way:

_factory = new IdentityServerServiceFactory();
_factory.EventService = new Registration<IEventService, EventService>();

Now after handling a Refresh Token event, i need to refresh some external system session. To refresh external session I need a current external session id, that is provided in user Claims. Is there any way to inject this 'current' claims to the EventService?

@leastprivilege
Copy link
Member

still an issue?

@szymongaertig
Copy link
Contributor Author

szymongaertig commented Sep 2, 2016

I implement some change in RaiseSuccessfulRefreshTokenRefreshEventAsync method, that will pass claims to the raised event.
There is pull request for this change: #3190

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants