pcibraro / hawknet

Hawk protocol implementation for .NET
MIT License
114 stars 35 forks source link

Use ClaimsPrincipal/ClaimsIdentity #1

Closed leastprivilege closed 11 years ago

leastprivilege commented 11 years ago

Hey,

it would be better to use ClaimsPrincipal instead of HawkPrincipal. Turn the outcome of the authentication into some claims and add them to claims collection.

That would play much nicer with the rest of .net/wif.

cheers dominick

pcibraro commented 11 years ago

It makes totally sense. I will make the change. Thanks for feedback

pcibraro commented 11 years ago

Done