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 |
---|---|---|
ClaimsPrincipal | principal | Caller's principal. |
Message | message | Request message that caller is sending. |
Returns
Type | Description |
---|---|
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 |
---|---|---|
String | configuration | String that defines the component configuration. |