Skip to content

Implement OAuth token caching and processing#78

Open
togelashvili-tbc wants to merge 2 commits into
masterfrom
feature/oauth-token-management
Open

Implement OAuth token caching and processing#78
togelashvili-tbc wants to merge 2 commits into
masterfrom
feature/oauth-token-management

Conversation

@togelashvili-tbc

Copy link
Copy Markdown
Collaborator

No description provided.

@togelashvili-tbc
togelashvili-tbc force-pushed the feature/oauth-token-management branch from 1c868d2 to 3b840f2 Compare July 24, 2026 12:44
@togelashvili-tbc
togelashvili-tbc changed the base branch from feature/update-packages-0726-01 to master July 24, 2026 12:45
@togelashvili-tbc
togelashvili-tbc force-pushed the feature/oauth-token-management branch 2 times, most recently from 2bd26f7 to 0b15b81 Compare July 24, 2026 12:52
@togelashvili-tbc
togelashvili-tbc marked this pull request as ready for review July 24, 2026 13:06
@togelashvili-tbc
togelashvili-tbc force-pushed the feature/oauth-token-management branch from 0b15b81 to a8ccf27 Compare July 24, 2026 13:28
Comment thread src/TBC.OpenAPI.SDK.Core/SingleFlightExecutor.cs Outdated
}
#endif

services.AddDistributedMemoryCache();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

AI - მ გვითხრა ასეთი რამ და მგონი რომ მართალს ამბობს:

An SDK registering a process-wide in-memory IDistributedCache as a side effect is surprising and order-dependent (works only via TryAdd). At minimum, document it loudly on the method; better, make the fallback opt-in (registerFallbackCache: true) so we don't hijack the consumer's caching topology. Consumers running multi-instance who forget to register Redis would silently get non-shared caches and think it's working.

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.

2 participants