Closed rossgrambo closed 1 month ago
This is a new feature. After this is released, we need to update our public doc to introduce it.
@jimmyca15 @rossgrambo After this PR is merged, I think we can publish a new stable release. What do you think?
Sounds good to me.
There was an issue with the build not starting. Should be fixed now, so I'll merge shortly.
Why this PR?
Visible Changes
Developers using ASP.NET will now have a new extension method available to them,
WithTargeting()
. Previously, they could only useWithTargeting<ITargetingContextAccessor>()
This default accessor will extract the targeting info from
HttpContext.User
.Groups
will be extracted from claims of typeRole
.UserId
is taken from theIdentity.Name
field.