Skip to content
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

move allowed callers and skill conversation factory #5286

Merged
merged 1 commit into from
Mar 9, 2021

Conversation

johnataylor
Copy link
Member

Moving a couple of classes out of adaptive runtime and into bot.builder and connector. And making these classes public.

We duplicate this code in a number of places: samples and tests.

The allowedcallers code should depend on BotFrameworkAuthentication rather than GetAppIdFromClaims directly, though that might not be critical path.

Note the samples and some test code derived from it make the concepts of allowed callers and allowed skills distinct - even though they are the same validation of appId. And they therefore read different configuration for each. The adaptive runtime didn't follow this pattern and so we only need AllowedCallersClaimsValidator and not AllowedSkillsClaimsValidator.

@johnataylor johnataylor requested a review from a team as a code owner March 8, 2021 19:53
Copy link
Member

@EricDahlvang EricDahlvang left a comment

Choose a reason for hiding this comment

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

lgtm ... should there be an issue tied to this?

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