TL.ClaimsPrincipalExtensionsLibrary 0.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package TL.ClaimsPrincipalExtensionsLibrary --version 0.0.1
                    
NuGet\Install-Package TL.ClaimsPrincipalExtensionsLibrary -Version 0.0.1
                    
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="TL.ClaimsPrincipalExtensionsLibrary" Version="0.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TL.ClaimsPrincipalExtensionsLibrary" Version="0.0.1" />
                    
Directory.Packages.props
<PackageReference Include="TL.ClaimsPrincipalExtensionsLibrary" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TL.ClaimsPrincipalExtensionsLibrary --version 0.0.1
                    
#r "nuget: TL.ClaimsPrincipalExtensionsLibrary, 0.0.1"
                    
#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.
#:package TL.ClaimsPrincipalExtensionsLibrary@0.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TL.ClaimsPrincipalExtensionsLibrary&version=0.0.1
                    
Install as a Cake Addin
#tool nuget:?package=TL.ClaimsPrincipalExtensionsLibrary&version=0.0.1
                    
Install as a Cake Tool

ClaimsPrincipalExtensions

Este projeto fornece várias extensões úteis para a classe ClaimsPrincipal no .NET, facilitando o trabalho com claims e roles no contexto de gerenciamento de identidade.

Instalação

Você pode instalar a biblioteca via NuGet. No seu terminal, execute:

dotnet add package TL.ClaimsPrincipalExtensionsLibrary

Métodos Incluídos

ClaimRoles

Claims

Roles<T>

ClaimSub

Claim

Id

RolesFlag<T>

HasRole

Email

FullName

IsAuthenticated

Birthdate

AllClaims

Contribuições

Sinta-se à vontade para contribuir com este projeto. Faça um fork, crie uma branch com suas melhorias e abra um pull request!

Licença

Este projeto está licenciado sob a Licença MIT - consulte o arquivo LICENSE para obter detalhes.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on TL.ClaimsPrincipalExtensionsLibrary:

Package Downloads
TL.ExtensionLibrary.Application

Clean Architecture Application metapackage: application orchestration, object utilities, and identity extensions, transitively including Domain.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.8.0 174 10/1/2026
0.7.0 163 9/26/2026
0.6.0 172 9/22/2026
0.5.0 168 9/16/2026
0.4.2 180 9/16/2026
0.4.1 172 9/11/2026
0.4.0 180 9/6/2026
0.3.0 116 9/6/2026
0.2.0 120 9/5/2026
0.1.0 115 9/4/2026
0.0.1 213 10/19/2024