Skip to content
프로젝트

소개

Blazor authentication package

보안 및 개인정보 보호

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Tests

NuGet version NuGet downloads

Overview

Blazor.Auth is a developer-friendly JWT & Cookie authentication library for Blazor. Built for .NET 8+ and designed to make Blazor authentication less painful, more secure, and (dare we say) enjoyable.

🍪 The package uses Blazor.Cookies for persisting user authentication state via browser cookies.

This package is for developers who want to:

  • Add JWT authentication to Blazor apps (Server, WebAssembly, United)
  • Use secure cookie authentication in .NET 8+ Blazor projects
  • Implement authentication & authorization in public-facing Blazor sites, SaaS dashboards, or internal enterprise Blazor apps
  • Implement custom login, logout, and token refresh flows
  • Leverage Blazor's built-in authorization capabilities (such as [AuthorizeView] and [CascadingAuthenticationState])

Why Blazor.Auth?

Because you shouldn't have to fight your framework just to log users in. This library skips the boilerplate, handles Blazor's quirks (SSR, WASM, Server, you name it), and keeps your sanity intact. Built by developers who have already made all the mistakes—so you don't have to.

Install via NuGet

Server project:

dotnet add package BitzArt.Blazor.Auth.Server

Client project:

dotnet add package BitzArt.Blazor.Auth.Client

Quickstart

  1. Add the NuGet package(s) to your Blazor project (see above).
  2. Configure authentication in your Program.cs (see docs).
  3. Use your favorite Blazor auth patterns.
  4. Enjoy secure, cookie-based authentication without the headaches.

Resources

Find guides, API docs, and examples in the documentation.

documentation

License

License

관련 프로젝트 살펴보기

불러오는 중…