Top |
LassoNameIdManagement * | lasso_name_id_management_new () |
LassoNameIdManagement * | lasso_name_id_management_new_from_dump () |
char * | lasso_name_id_management_dump () |
void | lasso_name_id_management_destroy () |
lasso_error_t | lasso_name_id_management_init_request () |
lasso_error_t | lasso_name_id_management_build_request_msg () |
lasso_error_t | lasso_name_id_management_process_request_msg () |
lasso_error_t | lasso_name_id_management_validate_request () |
lasso_error_t | lasso_name_id_management_build_response_msg () |
lasso_error_t | lasso_name_id_management_process_response_msg () |
LassoNameIdManagement *
lasso_name_id_management_new (LassoServer *server
);
Creates a new LassoNameIdManagement.
LassoNameIdManagement * lasso_name_id_management_new_from_dump (LassoServer *server
,const char *dump
);
Restores the dump
to a new LassoLogout.
char *
lasso_name_id_management_dump (LassoNameIdManagement *name_id_management
);
Dumps name_id_management
content to an XML string.
void
lasso_name_id_management_destroy (LassoNameIdManagement *name_id_management
);
Destroys a LassoNameIdManagement object.
lasso_error_t lasso_name_id_management_init_request (LassoNameIdManagement *name_id_management
,char *remote_provider_id
,char *new_name_id
,LassoHttpMethod http_method
);
Initializes a new Name Id Management Request. If new_name_id
is NULL, it is a Termination
request, if not and we are an IdP is a NameID change request, if we are a SP, it is a request to
add a SP provided Id to the NameID of the IdP. It can be useful if the SP do not want to store
the federation, instead he can export its own identifiers to the IdP.
lasso_error_t
lasso_name_id_management_build_request_msg
(LassoNameIdManagement *name_id_management
);
Builds the Name Id Management request message.
lasso_error_t lasso_name_id_management_process_request_msg (LassoNameIdManagement *name_id_management
,gchar *request_msg
);
Processes a Name Id Management request message. Rebuilds a request object from the message and check its signature.
lasso_error_t
lasso_name_id_management_validate_request
(LassoNameIdManagement *name_id_management
);
Processes a Name Id Management request, performing requested actions against principal federations. Profile identity may have to be saved afterwards.
lasso_error_t
lasso_name_id_management_build_response_msg
(LassoNameIdManagement *name_id_management
);
Builds the Name Id Management response message.
lasso_error_t lasso_name_id_management_process_response_msg (LassoNameIdManagement *name_id_management
,gchar *response_msg
);
Parses the response message and builds the corresponding response object. Performs requested actions against principal federations. Profile identity may have to be saved afterwards.