DotNetCoreCas 1.0.0-alpha
See the version list below for details.
dotnet add package DotNetCoreCas --version 1.0.0-alpha
NuGet\Install-Package DotNetCoreCas -Version 1.0.0-alpha
<PackageReference Include="DotNetCoreCas" Version="1.0.0-alpha" />
paket add DotNetCoreCas --version 1.0.0-alpha
#r "nuget: DotNetCoreCas, 1.0.0-alpha"
// Install DotNetCoreCas as a Cake Addin
#addin nuget:?package=DotNetCoreCas&version=1.0.0-alpha&prerelease
// Install DotNetCoreCas as a Cake Tool
#tool nuget:?package=DotNetCoreCas&version=1.0.0-alpha&prerelease
.NET Core CAS Client
Introduction
This is a fork of the Apereo .NET CAS client provides CAS integration for the Microsoft Windows platform via the .NET framework.
Features
- Supports CAS Protocol 1.0 and 2.0 and SAML 1.1
- Supports CAS single sign-out
- Rich support for Microsoft ASP.NET platform integration through Forms Authentication framework
Dotnet Core
The dotnet core implementation is currently under development. In the current build it has been tested for one use case. Setting up the dotnet core application to use CAS is much easier.
First go into the Startup.cs
file. and in the ConfigureServices
function add the folloing code:
services.AddCass(new CasOptions
{
CasServerUrlPrefix = "REQUIRED",
CasServerLoginUrl = "REQUIRED",
ServerName = "REQUIRED",
TicketValidatorName = TicketValidatorNames.Name,
etc.
});
This will setup the optiosn for Cas Authentication which will use Cookie Authentication.
Then in the same file add app.UseCas()
to the Configure
Method before it calls app.UseMvc()
.
This will map the "/Cas/" paths to use the CasMiddleware which will handle logging in and logging out.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.AspNetCore.Authentication.Abstractions (>= 2.1.0)
- Microsoft.AspNetCore.Authentication.Cookies (>= 2.1.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.1.0)
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 |
---|---|---|
2.0.1-alpha | 1,124 | 1/13/2020 |
2.0.0-alpha | 531 | 12/17/2018 |
1.0.9-alpha | 562 | 12/3/2018 |
1.0.8-alpha | 528 | 11/20/2018 |
1.0.7-alpha | 630 | 11/13/2018 |
1.0.6-alpha | 581 | 9/19/2018 |
1.0.5-alpha | 573 | 9/18/2018 |
1.0.4-alpha | 588 | 8/30/2018 |
1.0.3-alpha | 578 | 8/30/2018 |
1.0.2-alpha | 586 | 8/29/2018 |
1.0.1-alpha | 578 | 8/28/2018 |
1.0.0-alpha | 592 | 8/27/2018 |
Initial creation. Not much testing, but does work with a basic CAS20 server.