0

I would like to create a SWT token based on the claims in:

IClaimsPrincipal principal = (IClaimsPrincipal)User;
IClaimsIdentity identity = (IClaimsIdentity)principal.Identity;

I have found code for validating a swt token, but haven't been able to find a sample that creates one from IClaimsIdentity claims.

Baz
  • 36,440
  • 11
  • 68
  • 94
Poul K. Sørensen
  • 16,950
  • 21
  • 126
  • 283

1 Answers1

1

Check out my blog it that is of any help to you... http://lbadri.wordpress.com/2012/07/30/anatomy-of-a-simple-web-token-swt/