Skip to main content
.NETCoreApp3.0

Yale CAS SSO authentication provider for ASP.NET Core.

Published
Aug 13, 2024
2y ago
Total Downloads
8.4K
8,381

Install

dotnet add package Sdcb.AspNetCore.Authentication.YeluCasSso --version 2.0.0
ProductVersions
Other
.NETCoreApp3.0

README

Yelu CAS SSO Client NuGet

Integrate with ASP.NET Identity:

In Startup.cs ConfigureServices method(replace the example url with yours):

services.AddAuthentication().AddYeluCasSso("https://example.com/cas");

Integrate with raw ASP.NET Core project:

In Startup.cs ConfigureServices method(replace the example url with yours):

services.AddAuthentication(o =>
{
    o.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
    o.DefaultChallengeScheme = YeluCasSsoDefaults.AuthenticationScheme;
}).AddCookie().AddYeluCasSso("https://example.com/cas");

In Startup.cs Configure method(replace the example url with yours):

app.UseAuthentication();

Changes from Previous Version

No structural changes between v1.1.0 and v2.0.0.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.