Infsoft.WPE.App.Shared.Authentication.Web
0.0.2
Prefix Reserved
See the version list below for details.
dotnet add package Infsoft.WPE.App.Shared.Authentication.Web --version 0.0.2
NuGet\Install-Package Infsoft.WPE.App.Shared.Authentication.Web -Version 0.0.2
<PackageReference Include="Infsoft.WPE.App.Shared.Authentication.Web" Version="0.0.2" />
paket add Infsoft.WPE.App.Shared.Authentication.Web --version 0.0.2
#r "nuget: Infsoft.WPE.App.Shared.Authentication.Web, 0.0.2"
// Install Infsoft.WPE.App.Shared.Authentication.Web as a Cake Addin #addin nuget:?package=Infsoft.WPE.App.Shared.Authentication.Web&version=0.0.2 // Install Infsoft.WPE.App.Shared.Authentication.Web as a Cake Tool #tool nuget:?package=Infsoft.WPE.App.Shared.Authentication.Web&version=0.0.2
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 | 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
- Infsoft.WPE.App.Shared.Authentication.Base (>= 0.0.2)
- Microsoft.AspNetCore.Components.Web (>= 8.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.