ClaimsTransformation.Language
0.0.4
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.Language --version 0.0.4
NuGet\Install-Package ClaimsTransformation.Language -Version 0.0.4
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.Language" Version="0.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ClaimsTransformation.Language --version 0.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ClaimsTransformation.Language, 0.0.4"
#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.Language as a Cake Addin #addin nuget:?package=ClaimsTransformation.Language&version=0.0.4 // Install ClaimsTransformation.Language as a Cake Tool #tool nuget:?package=ClaimsTransformation.Language&version=0.0.4
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
- No dependencies.
-
.NETFramework 4.6.1
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ClaimsTransformation.Language:
Package | Downloads |
---|---|
ClaimsTransformation.Engine
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.