C# Class Revenj.Wcf.StandardAuthorizationPolicy

Inheritance: IAuthorizationPolicy
Show file Open project: ngs-doo/revenj

Protected Properties

Property Type Description
HashAuthentication IAuthentication
PassAuthentication IAuthentication

Public Methods

Method Description
Evaluate ( System.IdentityModel.Policy.EvaluationContext evaluationContext, object &state ) : bool

Protected Methods

Method Description
GetIdentity ( string authHeader ) : IIdentity

Private Methods

Method Description
GetClientIdentity ( System.IdentityModel.Policy.EvaluationContext evaluationContext ) : IIdentity
StandardAuthorizationPolicy ( ) : System

Method Details

Evaluate() public method

public Evaluate ( System.IdentityModel.Policy.EvaluationContext evaluationContext, object &state ) : bool
evaluationContext System.IdentityModel.Policy.EvaluationContext
state object
return bool

GetIdentity() protected method

protected GetIdentity ( string authHeader ) : IIdentity
authHeader string
return IIdentity

Property Details

HashAuthentication protected property

protected IAuthentication HashAuthentication
return IAuthentication

PassAuthentication protected property

protected IAuthentication PassAuthentication
return IAuthentication