StacyClouds.SwaAuth
0.1.1
Due to issues with the Client and Api running in the same package they have been split into 2. Alternate package is for Blazor WASM applications. For .NET Azure Functions use StacyClouds.SwaAuth.Api
dotnet add package StacyClouds.SwaAuth --version 0.1.1
NuGet\Install-Package StacyClouds.SwaAuth -Version 0.1.1
<PackageReference Include="StacyClouds.SwaAuth" Version="0.1.1" />
paket add StacyClouds.SwaAuth --version 0.1.1
#r "nuget: StacyClouds.SwaAuth, 0.1.1"
// Install StacyClouds.SwaAuth as a Cake Addin #addin nuget:?package=StacyClouds.SwaAuth&version=0.1.1 // Install StacyClouds.SwaAuth as a Cake Tool #tool nuget:?package=StacyClouds.SwaAuth&version=0.1.1
SwaAuth
Getting Started
Welcome to SwaAuth! This library is designed to simplify the integration of Azure Static Web App authentication into your Blazor WASM and .NET Azure Function applications.
Prerequisites
Before you begin, make sure you have the following:
- An Azure subscription
- Azure Static Web App configured for your application
- Blazor WASM project set up
- .NET Azure Function project set up
Installation
To install SwaAuth, follow these steps:
- Open your Blazor WASM or .NET Azure Function project.
- Add the SwaAuth NuGet package to your project.
dotnet add package SwaAuth
- Configure SwaAuth in your application by following the documentation provided in the Wiki.
Usage
Once SwaAuth is installed and configured, you can start using it in your application. Here are some examples:
Blazor WASM
TODO
.NET Azure Function
TODO
For more detailed usage instructions, please refer to the documentation.
Contributing
Contributions are welcome! If you would like to contribute to SwaAuth, please follow the guidelines outlined in the CONTRIBUTING.md file.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
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. |
-
net8.0
- Microsoft.AspNetCore.Components.Authorization (>= 8.0.6)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.