Add support for token scoping via TokenIdentifier#5
Open
jsiegmund wants to merge 7 commits into
Open
Conversation
Introduced TokenIdentifier to enable scoped token management: - Added TokenIdentifier to Azure, File System, and EF Core options. - Updated constructors to accept optional TokenIdentifier. - Refactored Azure Blob and File System paths for scoping. - Enhanced memory cache keys to include TokenIdentifier. - Updated EF Core queries and schema to support TokenIdentifier. - Added unique index for TokenIdentifier in the database. Improved DI support with new extension methods: - Added methods for registering token storage with TokenIdentifier. - Supported keyed service registration for scoped lifetimes. Bumped project version to 0.0.1-preview-02.
Replaced automatic table creation during DI registration with a new `InitializeTokenStorageSqlServer` method for explicit schema initialization during app startup. Removed the `EnsureTokenTableExists` method as its functionality is now handled by the new initialization method. Updated `Directory.Build.Props` to bump version to `0.0.1-preview-05`. Updated `README.md` to document the new initialization process and provide usage examples.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduced TokenIdentifier to enable scoped token management:
Improved DI support with new extension methods:
Bumped project version to 0.0.1-preview-02.