aspnetcore/src/AuthSamples/samples/ClaimsTransformation
Ryan Brandenburg f18c892bfb Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 8f471bf65b
2018-11-19 12:12:53 -08:00
..
Controllers Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-19 12:12:53 -08:00
Models Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-19 12:12:53 -08:00
Views Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-19 12:12:53 -08:00
wwwroot Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-19 12:12:53 -08:00
.bowerrc Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-19 12:12:53 -08:00
ClaimsTransformation.csproj Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-19 12:12:53 -08:00
ClaimsTransformer.cs Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-19 12:12:53 -08:00
Program.cs Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-19 12:12:53 -08:00
README.md Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-19 12:12:53 -08:00
Startup.cs Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-19 12:12:53 -08:00
appsettings.Development.json Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-19 12:12:53 -08:00
appsettings.json Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-19 12:12:53 -08:00
bower.json Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-19 12:12:53 -08:00
bundleconfig.json Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-19 12:12:53 -08:00

README.md

AuthSamples.ClaimsTransformation

Sample demonstrating claims transformation:

  1. Run the app and click on the MyClaims tab, this should trigger a redirect to login.
  2. Login with any username and password, the sample just validates that any values are provided.
  3. You should be redirected back to /Home/MyClaims which will show a few user claims including a Transformed time.
  4. Refresh the page and see that the Transformed time updates.

Startup.cs and ClaimsTransformer.cs are the most interesting classes in this sample.