C# Class Cares.WebApi.SecurityConfig

Datei anzeigen Open project: innoist/GF-FRS Class Usage Examples

Private Properties

Property Type Description
CheckAuthentication bool
CreateConfiguration Thinktecture.IdentityModel.Tokens.Http.AuthenticationConfiguration

Public Methods

Method Description
ConfigureGlobal ( System.Web.Http.HttpConfiguration globalConfig, IUnityContainer container ) : void

Configure security

Private Methods

Method Description
CheckAuthentication ( string userName, string password ) : bool

Check Authentication

CreateConfiguration ( ) : Thinktecture.IdentityModel.Tokens.Http.AuthenticationConfiguration

Create the configuration

Method Details

ConfigureGlobal() public static method

Configure security
public static ConfigureGlobal ( System.Web.Http.HttpConfiguration globalConfig, IUnityContainer container ) : void
globalConfig System.Web.Http.HttpConfiguration
container IUnityContainer
return void