Skip to content

feat: session management interface - #83

Open
jhbritton-RSK wants to merge 8 commits into
server-side-sessionsfrom
feat/40-management-interface
Open

jhbritton-RSK wants to merge 8 commits into
server-side-sessionsfrom
feat/40-management-interface

Conversation

@jhbritton-RSK

Copy link
Copy Markdown
Collaborator

Description

Created the ISessionManagementService interface with compatible methods and signatures. And also created a default implementation.

Type of change

  • Bug fix
  • Feature
  • Refactoring
  • Documentation
  • Other

Does this PR introduce a breaking change?

No

Testing

TDD Development with the addition of locally testing the methods

LLM Usage

Used as a quicker search engine and to refactor some small snippets of broken code faster than I could

Other context

Adds to the overall server-side sessions feature in Open.IdentityServer

@jhbritton-RSK jhbritton-RSK changed the title Feat/40 management interface feat: session management interface Sep 23, 2026
@jhbritton-RSK
jhbritton-RSK force-pushed the feat/40-management-interface branch 3 times, most recently from ad22cd2 to 27cfd99 Compare September 23, 2026 13:15
Comment thread src/Open.IdentityServer.Test.Utilities/Open.IdentityServer.Test.Utilities.csproj Outdated

QueryResult<AuthenticationTicketFilterResult> results = await serverSessionTicketStore.FilterServerAuthenticationTickets(filter, ct);

return results.MapTo<UserSession>(x => x.ToUserSession());

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thoughts on enabling model extensions here similar to #75 ?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would agree with this, I can see it being a comment usecase to want to extend session information, adding one item shouldn't need a whole new implementation

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created issue for this #84

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#84 describes a refactoring, not model extension similar to #74.

Comment thread src/Open.IdentityServer/src/Stores/InMemory/InMemorySessionStore.cs

@patchandthat patchandthat left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per comments. Some comments are for discussion.

@jhbritton-RSK
jhbritton-RSK force-pushed the feat/40-management-interface branch from 018c9b2 to 44dee40 Compare September 24, 2026 13:31
Comment thread src/Open.IdentityServer/src/Models/UserSession.cs
Comment thread src/Open.IdentityServer/src/Services/Default/DefaultSessionManagementService.cs Outdated
@jhbritton-RSK
jhbritton-RSK force-pushed the feat/40-management-interface branch from 0e6eb6c to afbc154 Compare September 25, 2026 13:51
@jhbritton-RSK
jhbritton-RSK force-pushed the feat/40-management-interface branch from afbc154 to 2764629 Compare September 25, 2026 13:55
@jhbritton-RSK
jhbritton-RSK marked this pull request as ready for review September 25, 2026 13:55

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants