Skip to content

Conversation

@tracyboehrer
Copy link
Member

@tracyboehrer tracyboehrer commented Nov 18, 2025

As a convenience, exposed UserAuthorization via ITurnContext extensions

  • ITurnContext.GetTurnTokenAsync
  • ITurnContext.ExchangeTurnTokenAsync
  • (NEW) ITurnContext.GetTurnTokens
    • Returns a dictionary of resolved tokens during the turn
  • (BREAKING) When calling Get/Exchange without a handler name, the first resolved is used (not DefaultHandlerName).
    • This can be a bit confusing when AutoSignIn and Per-Route are used as the DefaultHandlerName used by Auto will always be first.

@github-actions github-actions bot added the ML: Core Tags changes to core libraries label Nov 18, 2025
@github-actions github-actions bot added the ML: Samples Tags changes to samples label Nov 18, 2025
@github-actions github-actions bot added the ML: Tests Tags changes to tests label Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ML: Core Tags changes to core libraries ML: Samples Tags changes to samples ML: Tests Tags changes to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants