[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.SecurityAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static void AuthorizeAndGuardAction(
MemberInfo actionInfo,
ISession session = null,
GetSessionFunc getSessionFunc = null
)
public static void AuthorizeAndGuardAction(
MemberInfo actionInfo,
ISession session = null,
GetSessionFunc getSessionFunc = null
)
Public Shared Sub AuthorizeAndGuardAction (
actionInfo As MemberInfo,
Optional session As ISession = Nothing,
Optional getSessionFunc As GetSessionFunc = Nothing
)
Public Shared Sub AuthorizeAndGuardAction (
actionInfo As MemberInfo,
Optional session As ISession = Nothing,
Optional getSessionFunc As GetSessionFunc = Nothing
)
public:
static void AuthorizeAndGuardAction(
MemberInfo^ actionInfo,
ISession^ session = nullptr,
GetSessionFunc^ getSessionFunc = nullptr
)
public:
static void AuthorizeAndGuardAction(
MemberInfo^ actionInfo,
ISession^ session = nullptr,
GetSessionFunc^ getSessionFunc = nullptr
)
static member AuthorizeAndGuardAction :
actionInfo : MemberInfo *
?session : ISession *
?getSessionFunc : GetSessionFunc
(* Defaults:
let _session = defaultArg session null
let _getSessionFunc = defaultArg getSessionFunc null
*)
-> unit
static member AuthorizeAndGuardAction :
actionInfo : MemberInfo *
?session : ISession *
?getSessionFunc : GetSessionFunc
(* Defaults:
let _session = defaultArg session null
let _getSessionFunc = defaultArg getSessionFunc null
*)
-> unit