Muonroi.Bff
2.0.2
dotnet add package Muonroi.Bff --version 2.0.2
NuGet\Install-Package Muonroi.Bff -Version 2.0.2
<PackageReference Include="Muonroi.Bff" Version="2.0.2" />
<PackageVersion Include="Muonroi.Bff" Version="2.0.2" />
<PackageReference Include="Muonroi.Bff" />
paket add Muonroi.Bff --version 2.0.2
#r "nuget: Muonroi.Bff, 2.0.2"
#:package Muonroi.Bff@2.0.2
#addin nuget:?package=Muonroi.Bff&version=2.0.2
#tool nuget:?package=Muonroi.Bff&version=2.0.2
Muonroi.Bff
Core primitives for Muonroi.Bff in the Muonroi ecosystem.
Overview
Muonroi.Bff enables the Backend-for-Frontend (BFF) security pattern for modern SPAs. It provides abstractions like ITokenStore and implementations such as RedisTokenStore and InMemoryTokenStore to securely manage OAuth tokens server-side.
Features
- Token Storage Abstractions:
ITokenStoredefines how access and refresh tokens are securely stored. - Distributed Token Store:
RedisTokenStoreprovides highly-available token persistence. - Seamless Extensions: Configure cookie schemes easily using
BffAuthenticationExtensions.
Quick Start
using Muonroi.Bff;
builder.Services.AddBffAuthentication();
Installation
dotnet add package Muonroi.Bff
Ecosystem Combinations
Combine with Muonroi.Auth to seamlessly intercept and store JWT tokens in Redis via RedisTokenStore, ensuring that the browser only ever sees encrypted HTTP-only cookies.
Samples
Check out the ../../samples/ directory for full working examples of the Muonroi.Bff components.
| 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
- Muonroi.Caching.Abstractions (>= 2.0.2)
- Muonroi.Core.Abstractions (>= 2.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.