StacyClouds.SwaAuth 0.1.1

Suggested Alternatives

StacyClouds.SwaAuth.Client

Additional Details

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                
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="StacyClouds.SwaAuth" Version="0.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StacyClouds.SwaAuth --version 0.1.1                
#r "nuget: StacyClouds.SwaAuth, 0.1.1"                
#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.
// 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:

  1. Open your Blazor WASM or .NET Azure Function project.
  2. Add the SwaAuth NuGet package to your project.
    dotnet add package SwaAuth
    
  3. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.