Sufficit.Identity.Client 1.26.809.42

dotnet add package Sufficit.Identity.Client --version 1.26.809.42
                    
NuGet\Install-Package Sufficit.Identity.Client -Version 1.26.809.42
                    
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="Sufficit.Identity.Client" Version="1.26.809.42" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sufficit.Identity.Client" Version="1.26.809.42" />
                    
Directory.Packages.props
<PackageReference Include="Sufficit.Identity.Client" />
                    
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 Sufficit.Identity.Client --version 1.26.809.42
                    
#r "nuget: Sufficit.Identity.Client, 1.26.809.42"
                    
#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 Sufficit.Identity.Client@1.26.809.42
                    
#: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=Sufficit.Identity.Client&version=1.26.809.42
                    
Install as a Cake Addin
#tool nuget:?package=Sufficit.Identity.Client&version=1.26.809.42
                    
Install as a Cake Tool

Sufficit.Identity.Client

Cliente .NET para a API de Management do sufficit-identity.

Contrato atual

O cliente chama exclusivamente os endpoints novos:

  • GET/POST/DELETE /api/users e GET /api/users/{id};
  • PUT /api/users/{id}/profile;
  • POST /api/users/{id}/reset-password;
  • POST /api/users/{id}/lockout;
  • POST /api/users/{id}/resend-confirmation;
  • GET/POST/DELETE /api/claims.

Os IDs são string (o Identity novo usa IdentityUser<string>), a lista paginada usa items e as claims não são mais aninhadas em /users/{id}.

Registro

builder.Services.AddSufficitIdentityClient();

Configuração opcional:

{
  "Sufficit": {
    "Identity": {
      "Client": {
        "BaseAddress": "https://identity.sufficit.com.br",
        "RoutePrefix": "api",
        "TimeOut": 30
      }
    }
  }
}

O cliente obtém o bearer token do HttpContext por padrão. O token precisa conter o escopo de Management configurado no servidor (por padrão identity.management) e as capabilities identity.users.*/identity.claims.* em claims permission ou no papel configurado pelo servidor. O escopo sozinho não concede acesso às operações.

Migração dos aliases legados

GetUserAsync(Guid), DeleteUserAsync(Guid), UnlockUserAsync(Guid), GetUsersAsync, GetUserClaimsAsync, User.ID, CreateUserRequest.Password e ResendEMailConfirmation continuam disponíveis com [Obsolete] para permitir atualização gradual, mas já enviam somente o contrato novo. Use os equivalentes string/Id, SearchUsersAsync, SearchClaimsAsync, InitialPassword e ResendEmailConfirmationAsync(userId) em código novo.

O registro não constrói mais um ServiceProvider intermediário e não depende da configuração Sufficit:Identity:Admin nem do escopo administrativo Skoruba.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 is compatible.  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 was computed.  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 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Sufficit.Identity.Client:

Package Downloads
Sufficit.Blazor.Client

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.26.809.42 40 8/9/2026
1.26.701.1846 625 7/1/2026
1.26.529.1524 343 5/29/2026
1.26.401.1425 310 4/1/2026
1.26.327.1859 177 3/27/2026
1.26.327.1854 130 3/27/2026
1.26.327.1835 130 3/27/2026
1.26.314.1835 253 3/14/2026
1.26.314.1821 129 3/14/2026
1.26.313.1824 142 3/13/2026
1.26.302.1259 225 3/2/2026
1.26.223.1924 302 2/23/2026
1.26.108.1755 821 1/8/2026
1.25.910.2104 403 9/10/2025
1.25.825.1922 378 8/25/2025
1.25.811.2112 262 8/11/2025
1.25.715.1625 655 7/15/2025
1.25.710.42 266 7/10/2025
1.25.408.227 1,274 4/8/2025
1.25.331.1401 415 3/31/2025
Loading failed