Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Claims Transformation Middleware for OWIN/Katana

Nuget: IdentityModel.Owin.ClaimsTransformation

app.UseClaimsTransformation(incoming =>
    {
        // either add claims to incoming, or create new principal
        var appPrincipal = new ClaimsPrincipal(incoming);
        incoming.Identities.First().AddClaim(new Claim("appSpecific", "some_value"));

        return Task.FromResult(appPrincipal);
    });

About

Claims Transformation Middleware for OWIN/Katana

Resources

License

Releases

No releases published

Packages

No packages published