ClaimsTransformation.Engine
0.0.3
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package ClaimsTransformation.Engine --version 0.0.3
NuGet\Install-Package ClaimsTransformation.Engine -Version 0.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ClaimsTransformation.Engine" Version="0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ClaimsTransformation.Engine --version 0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ClaimsTransformation.Engine, 0.0.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ClaimsTransformation.Engine as a Cake Addin #addin nuget:?package=ClaimsTransformation.Engine&version=0.0.3 // Install ClaimsTransformation.Engine as a Cake Tool #tool nuget:?package=ClaimsTransformation.Engine&version=0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ClaimsTransformation
An implementation of the ADFS claims transformation language for .NET
Some informations exist;
- https://docs.microsoft.com/en-us/windows-server/identity/solution-guides/claims-transformation-rules-language
- https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/dd807118(v=ws.10)
Here is a usage example;
//Setup (this can be done once)
var parser = new ClaimsTransformationParser();
var cache = new ClaimsTransformationCache();
var engine = new ClaimsTransformationEngine(parser, cache);
var expression =
@"C1:[] " +
@"=> ISSUE(TYPE = ""http://namespace/role"", VALUE = ""Public"");";
//Read these claims from your authentication token.
var input = new Claim[] { };
//Use these claims for your security.
var output = engine.Transform(expression, input);
See the test suite for more examples.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net452 is compatible. net46 was computed. net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.5.2
- ClaimsTransformation.Language (>= 0.0.3)
-
.NETFramework 4.6.1
- ClaimsTransformation.Language (>= 0.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.