Top |
LassoAssertionQuery * | lasso_assertion_query_new () |
void | lasso_assertion_query_destroy () |
lasso_error_t | lasso_assertion_query_init_request () |
lasso_error_t | lasso_assertion_query_validate_request () |
lasso_error_t | lasso_assertion_query_build_request_msg () |
lasso_error_t | lasso_assertion_query_process_request_msg () |
lasso_error_t | lasso_assertion_query_build_response_msg () |
lasso_error_t | lasso_assertion_query_process_response_msg () |
lasso_error_t | lasso_assertion_query_add_attribute_request () |
LassoAssertionQueryRequestType | lasso_assertion_query_get_request_type () |
LassoAssertionQuery *
lasso_assertion_query_new (LassoServer *server
);
Creates a new LassoAssertionQuery.
void
lasso_assertion_query_destroy (LassoAssertionQuery *assertion_query
);
Destroys a LassoAssertionQuery object.
lasso_error_t lasso_assertion_query_init_request (LassoAssertionQuery *assertion_query
,char *remote_provider_id
,LassoHttpMethod http_method
,LassoAssertionQueryRequestType query_request_type
);
Initializes a new Assertion Query Request. For the AssertionID request type, the remote_provider_id is mandatory, for all other kind of request it is optional if we can find a provider supporting the associated role, i.e. IDP; authentication, attribute and authorization authority.
lasso_error_t
lasso_assertion_query_validate_request
(LassoAssertionQuery *assertion_query
);
Processes a Assertion query or request; caller must add assertions to the response afterwards.
lasso_error_t
lasso_assertion_query_build_request_msg
(LassoAssertionQuery *assertion_query
);
Build an Assertion Query profile request message.
lasso_error_t lasso_assertion_query_process_request_msg (LassoAssertionQuery *assertion_query
,gchar *request_msg
);
Processes a Assertion query or request message. Rebuilds a request object from the message and check its signature.
lasso_error_t
lasso_assertion_query_build_response_msg
(LassoAssertionQuery *assertion_query
);
Builds the Response message.
lasso_error_t lasso_assertion_query_process_response_msg (LassoAssertionQuery *assertion_query
,gchar *response_msg
);
Parses the response message and builds the corresponding response object.
lasso_error_t lasso_assertion_query_add_attribute_request (LassoAssertionQuery *assertion_query
,char *format
,char *name
);
Append a new attribute designator to the current attribute request.
assertion_query |
a LassoAssertionQuery object |
|
attribute_format |
the attribute designator format |
|
attribute_name |
the attribute designator name |
LassoAssertionQueryRequestType
lasso_assertion_query_get_request_type
(LassoAssertionQuery *assertion_query
);
Return the type of the last processed request.
Enumerate the existing kind of AssertionQuery requests.
the unknown value |
||
an AssertionID request, to retrieve an assertion by its ID. |
||
an AuthnQuery request, which is used to request existing authentication assertions about a given subject from an Authentication Authority |
||
an AttributeQuery, which is used to retrieve attribute an a principal. |
||
an AuthzDecisionQuery, which is used to request authorisation to let a principal access a certain resource. |
||