billbogaiv / hybrid-model-binding

Provides the ability to bind models using both ModelBinder and ValueProvider in ASP.NET Core.
MIT License
104 stars 19 forks source link

add Source.Claim #59

Closed Misiu closed 2 years ago

Misiu commented 2 years ago

This small PR adds Source.Claim. This allows binding value from Claim (from cookie or JWT token). Closes: https://github.com/billbogaiv/hybrid-model-binding/issues/58

If this gets approved I can do a little clean-up of the entire project fixing some Resharper hints.