Adaptive Framework
0.9.0
|
Modules | |
afw_authorization_handler | |
Data Structures | |
struct | afw_authorization_handler_s |
Interface afw_authorization_handler public struct. More... | |
struct | afw_authorization_handler_inf_s |
Interface afw_authorization_handler_inf_s struct. More... | |
Macros | |
#define | AFW_AUTHORIZATION_HANDLER_INTERFACE_NAME "afw_authorization_handler" |
define for interface afw_authorization_handler name. | |
#define | afw_authorization_handler_destroy(instance, xctx) |
Call method destroy of interface afw_authorization_handler. More... | |
#define | afw_authorization_handler_check(instance, resource_id, object, action_id, p, xctx) |
Call method check of interface afw_authorization_handler. More... | |
Typedefs | |
typedef void(* | afw_authorization_handler_destroy_t) (const afw_authorization_handler_t *instance, afw_xctx_t *xctx) |
typedef const afw_value_t *(* | afw_authorization_handler_check_t) (const afw_authorization_handler_t *instance, const afw_value_t *resource_id, const afw_value_t *object, const afw_value_t *action_id, const afw_pool_t *p, afw_xctx_t *xctx) |
Adaptive framework authorization handler interface.
#define afw_authorization_handler_check | ( | instance, | |
resource_id, | |||
object, | |||
action_id, | |||
p, | |||
xctx | |||
) |
Call method check of interface afw_authorization_handler.
instance | Pointer to this adaptive request instance. |
resource_id | Adaptive string value for the URI of resource to check. |
object | Adaptive object value for the object associated with resource or NULL. |
action_id | Adaptive string value for the action to check. |
p | Pool for result. |
xctx | This is the caller's xctx. |
Definition at line 1779 of file afw_interface.h.
#define afw_authorization_handler_destroy | ( | instance, | |
xctx | |||
) |
Call method destroy of interface afw_authorization_handler.
instance | Pointer to this adaptive authorization handler instance. |
xctx | This is the caller's xctx. |
Definition at line 1760 of file afw_interface.h.
typedef const afw_value_t*(* afw_authorization_handler_check_t) (const afw_authorization_handler_t *instance, const afw_value_t *resource_id, const afw_value_t *object, const afw_value_t *action_id, const afw_pool_t *p, afw_xctx_t *xctx) |
Definition at line 1739 of file afw_interface.h.
typedef void(* afw_authorization_handler_destroy_t) (const afw_authorization_handler_t *instance, afw_xctx_t *xctx) |
Definition at line 1733 of file afw_interface.h.