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

Claims on token revoked details #3201

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

szymongaertig
Copy link
Contributor

This change extends TokenRevokedDetails with claim property.

Using new property

 public class EventHandlerService : IEventService
    {

        public Task RaiseAsync<T>(Event<T> @event)
        {
            if (@event.Details is TokenRevokedDetails)
            {
                var eventDetails = @event as Event<TokenRevokedDetails>;
                var sessionId = eventDetails.Details.Claims.First(x => x.Key == "session_id");

                // some other code
            }

            return Task.FromResult(0);
        }
    }

@szymongaertig
Copy link
Contributor Author

Is there any chance to deploy this change soon?
What is the schedule of next version?

@leastprivilege
Copy link
Member

Sorry - we are all really busy right now. We'll get to it ASAP.

@ghost ghost removed the cla-already-signed label Dec 7, 2017
@ghost ghost deleted a comment from dnfclas Dec 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants