Infsoft.WPE.App.Shared.Authentication.Web 0.0.3

Prefix Reserved
dotnet add package Infsoft.WPE.App.Shared.Authentication.Web --version 0.0.3                
NuGet\Install-Package Infsoft.WPE.App.Shared.Authentication.Web -Version 0.0.3                
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="Infsoft.WPE.App.Shared.Authentication.Web" Version="0.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Infsoft.WPE.App.Shared.Authentication.Web --version 0.0.3                
#r "nuget: Infsoft.WPE.App.Shared.Authentication.Web, 0.0.3"                
#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 Infsoft.WPE.App.Shared.Authentication.Web as a Cake Addin
#addin nuget:?package=Infsoft.WPE.App.Shared.Authentication.Web&version=0.0.3

// Install Infsoft.WPE.App.Shared.Authentication.Web as a Cake Tool
#tool nuget:?package=Infsoft.WPE.App.Shared.Authentication.Web&version=0.0.3                

Workplace Experience (WPE) Web Authentication Library

This library handles all necessary tasks to perform a login with a Blazor WPA.

Setup

To add all required services the extension method AddWebAuthentication is provided.

Authentication can then be performed with the interface ILoginService, whereas tokens can be fetched from ITokenProvider.

Updating JS libraries

To build oidc-client-ts, snowpack is used. A build is necessary to use a simple js file as module, otherwise import statements do not work.

As the build is static, a build version is already included, thus only on updates to the library a rebuild is necessary.

To rebuild execute the following commands (in folder JS):

npm install # first time only to install dependencies
npm run build
mv build/_snowpack/pkg/*.js ../wwwroot/auth
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.

Version Downloads Last updated
0.0.3 319 5/21/2024
0.0.2 518 2/12/2024
0.0.1 164 10/6/2023