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