C# Class Thinktecture.Samples.ClaimsAuthzManager

Inheritance: Thinktecture.IdentityModel.Claims.ExtendedClaimsAuthorizationManager
显示文件 Open project: IdentityModel/Thinktecture.IdentityModel.v1

Public Methods

Method Description
CheckAccess ( AuthorizationContext context ) : bool
CheckMessage ( Message &message, System.ServiceModel.OperationContext operationContext, IClaimsPrincipal principal ) : bool
GetCustomPrincipal ( System.ServiceModel.OperationContext operationContext, IClaimsPrincipal principal ) : IClaimsPrincipal

Method Details

CheckAccess() public method

public CheckAccess ( AuthorizationContext context ) : bool
context AuthorizationContext
return bool

CheckMessage() public method

public CheckMessage ( Message &message, System.ServiceModel.OperationContext operationContext, IClaimsPrincipal principal ) : bool
message Message
operationContext System.ServiceModel.OperationContext
principal IClaimsPrincipal
return bool

GetCustomPrincipal() public method

public GetCustomPrincipal ( System.ServiceModel.OperationContext operationContext, IClaimsPrincipal principal ) : IClaimsPrincipal
operationContext System.ServiceModel.OperationContext
principal IClaimsPrincipal
return IClaimsPrincipal