Skip to content

Lazy instantiation in TokenValidationParameters #2155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
westin-m opened this issue Jul 25, 2023 · 1 comment
Closed

Lazy instantiation in TokenValidationParameters #2155

westin-m opened this issue Jul 25, 2023 · 1 comment
Labels
Documentation The issue is related to adding documentation Performance

Comments

@westin-m
Copy link
Contributor

TokenValidationParameters has this public IDictionary<string, object> InstancePropertyBag { get; } = new Dictionary<string, object>();. Can that be lazily instantiated? I don’t see any other code in the repo (beyond tests) using InstancePropertyBag, yet every TokenValidationParameters being constructed is creating this dictionary instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation The issue is related to adding documentation Performance
Projects
None yet
Development

No branches or pull requests

3 participants