access-forge
1.0.0
dotnet add package access-forge --version 1.0.0
NuGet\Install-Package access-forge -Version 1.0.0
<PackageReference Include="access-forge" Version="1.0.0" />
<PackageVersion Include="access-forge" Version="1.0.0" />
<PackageReference Include="access-forge" />
paket add access-forge --version 1.0.0
#r "nuget: access-forge, 1.0.0"
#:package access-forge@1.0.0
#addin nuget:?package=access-forge&version=1.0.0
#tool nuget:?package=access-forge&version=1.0.0
Access-forge
This package offers a comprehensive authentication system built with C# on the .NET 8 framework. It encompasses essential components, including a token provider, password manager, user manager, and sign-in manager.
Access-forge streamlines development by providing a customizable, ready-to-use authentication system that integrates seamlessly with a single method call, allowing developers to focus on core application features.
Installation
Use .Net CLI to install the package
dotnet add package access-forge --version 1.0.0
How to use
To use access-forge to authenticate users
Step 1: Configure Identity and JWT
var tokenSecret = "123456AccessForge@!2092000111@@wqrys";
var connectionString = "Server=localhost\\SQLEXPRESS;Database=AccessForge;Trusted_Connection=True;TrustServerCertificate=true;";
services.AddIdentityService<IdentityDbContext>(options =>
{
options.UseSqlServer(connectionString);
})
.AddJwtBearer(s =>
{
s.TokenSecret = tokenSecret;
s.AuthenticationScheme = JwtBearerDefaults.AuthenticationScheme;
s.ExpirationTime = 30;
});
Step 2: Register User
AccessResult<User> result = userManager.CreateUser(user);
Step 3: Authenticate User
SignInResult<User> result = signInManager.SignInByEmail(email, password);
Additional Resources
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net8.0
- BCrypt.Net-Next (>= 4.0.3)
- DeviceDetector.NET (>= 6.4.2)
- GoogleAuthenticator (>= 3.2.0)
- IPinfo (>= 3.0.1)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 8.0.18)
- Microsoft.EntityFrameworkCore (>= 8.0.18)
- Microsoft.EntityFrameworkCore.SqlServer (>= 8.0.18)
- System.Text.Json (>= 8.0.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.0 | 392 | 7/25/2025 |