Permission AuthorizeAndGuardAction Method (MemberInfo, ISession, GetSessionFunc)NFX Class Library

[This is preliminary documentation and is subject to change.]

Guards the action represented by MemberInfo by checking the permission-derived attributes and throwing exception if any of authorization attributes do not pass

Namespace: NFX.Security
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static void AuthorizeAndGuardAction(
	MemberInfo actionInfo,
	ISession session = null,
	GetSessionFunc getSessionFunc = null
)
See Also