Interface IMessageEvaluator
Defines interface for implementation of a custom Access Rule Expression component.
Namespace: Nevatech.Vsb.Repository.Security
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public interface IMessageEvaluator
Methods
Evaluate(ClaimsPrincipal, ref Message)
Returns True if provided caller identity and/or message content satisfies condition(s) implemented by the component.
Declaration
bool Evaluate(ClaimsPrincipal principal, ref Message message)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Claims.ClaimsPrincipal | principal | Caller's principal. |
System.ServiceModel.Channels.Message | message | Request message that caller is sending. |
Returns
Type | Description |
---|---|
System.Boolean | True, if provided caller identity and/or message content satisfies condition(s) implemented by the component. False, otherwise. |
ImportConfiguration(String)
Imports component configuration.
Declaration
void ImportConfiguration(string configuration)
Parameters
Type | Name | Description |
---|---|---|
System.String | configuration | String that defines the component configuration. |