Skip to content

ASP.NET OWIN WebAPI setup with CAS authorization and static file serving.

Notifications You must be signed in to change notification settings

tomasvarg/OwinWebApiTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Owin WebApi Auth Test

ASP.NET OWIN WebAPI setup with CAS authorization and static file serving.

See Startup.cs and Providers/CasAuthorizationServerProvider.cs files for the most relevant stuff.

Configuration

Options configurable in project's Web.config:

  • appSettings/CasHost: URL of the CAS authentication server (required)
  • appSettings/CasValidationPath: CAS token validation URL path (required; for case another protocol version desired)
  • appSettings/AccessTokenLifetimeHours: login expiration in hours (optional, default = 10)
  • appSettings/WebDirectory: directory from which the client app is served (optional, default = 'Web')
  • appSettings/DocDirectory: directory from which the documentation is served (optional, default = 'Doc')
  • appSettings/ServiceUser: bypass ticket authentication, authorize this user (optional)

A CAS server like cas-gradle-overlay-template expected on appSettings/CasHost URL.

About

ASP.NET OWIN WebAPI setup with CAS authorization and static file serving.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published