C# Class SecurityControllers.SecurityController

Inheritance: System.Configuration.Provider.ProviderBase
ファイルを表示 Open project: wcpro/SecurityControllers

Public Methods

Method Description
CheckAuthorization ( string operation, Claim claims ) : bool
Initialize ( string name, System config ) : void

Private Methods

Method Description
BuildCacheKey ( string username, string operation, string resources, IEnumerable claims ) : string
BuildClaimsArray ( Claim claims ) : object[]
CallDymanicMethod ( string method, Claim claims ) : bool

Method Details

CheckAuthorization() public method

public CheckAuthorization ( string operation, Claim claims ) : bool
operation string
claims System.Security.Claims.Claim
return bool

Initialize() public method

public Initialize ( string name, System config ) : void
name string
config System
return void