diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2004-12-30 19:27:24 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2004-12-30 19:27:24 +0000 |
commit | 97cd445ee361cf7da4051e81005cf59fd34fcffd (patch) | |
tree | d7a624ba27f2d4eed1494aa93ccc091c9f5c9bf0 | |
parent | b9efc048b835c575cb10457e251e563ec425d2b8 (diff) | |
download | lasso-97cd445ee361cf7da4051e81005cf59fd34fcffd.tar.gz lasso-97cd445ee361cf7da4051e81005cf59fd34fcffd.tar.xz lasso-97cd445ee361cf7da4051e81005cf59fd34fcffd.zip |
documented more functions, reaching 50% symbol docs coverage (126 symbols
documented, 126 not documented)
27 files changed, 165 insertions, 60 deletions
diff --git a/lasso/xml/lib_assertion.c b/lasso/xml/lib_assertion.c index 9b4eb441..248795d0 100644 --- a/lasso/xml/lib_assertion.c +++ b/lasso/xml/lib_assertion.c @@ -105,12 +105,32 @@ lasso_lib_assertion_get_type() return this_type; } +/** + * lasso_lib_assertion_new: + * + * Creates a new #LassoLibAssertion object. + * + * Return value: a newly created #LassoLibAssertion object + **/ LassoLibAssertion* lasso_lib_assertion_new() { return g_object_new(LASSO_TYPE_LIB_ASSERTION, NULL); } +/** + * lasso_lib_assertion_new_full: + * @issuer: + * @requestID: + * @audience: + * @notBefore: + * @notOnOrAfter: + * + * Creates a new #LassoLibAssertion object and initializes it with the + * parameters. + * + * Return value: a newly created #LassoLibAssertion object + **/ LassoLibAssertion* lasso_lib_assertion_new_full(const char *issuer, const char *requestID, const char *audience, const char *notBefore, const char *notOnOrAfter) @@ -140,4 +160,3 @@ lasso_lib_assertion_new_full(const char *issuer, const char *requestID, return LASSO_LIB_ASSERTION(assertion); } - diff --git a/lasso/xml/lib_authentication_statement.c b/lasso/xml/lib_authentication_statement.c index c6487d4c..4a62167d 100644 --- a/lasso/xml/lib_authentication_statement.c +++ b/lasso/xml/lib_authentication_statement.c @@ -105,12 +105,32 @@ lasso_lib_authentication_statement_get_type() return this_type; } +/** + * lasso_lib_authentication_statement_new: + * + * Creates a new #LassoLibAuthenticationStatement object. + * + * Return value: a newly created #LassoLibAuthenticationStatement object + **/ LassoLibAuthenticationStatement* lasso_lib_authentication_statement_new(void) { return g_object_new(LASSO_TYPE_LIB_AUTHENTICATION_STATEMENT, NULL); } +/** + * lasso_lib_authentication_statement_new_full: + * @authenticationMethod: + * @authenticationInstant: AuthenticationInstant (NULL to get current time) + * @reauthenticateOnOrAfter: + * @sp_identifier: + * @idp_identifier: + * + * Creates a new #LassoLibAuthenticationStatement object and initializes it + * with the parameters. + * + * Return value: a newly created #LassoLibAuthenticationStatement object + **/ LassoLibAuthenticationStatement* lasso_lib_authentication_statement_new_full(const char *authenticationMethod, const char *authenticationInstant, diff --git a/lasso/xml/lib_authn_context.c b/lasso/xml/lib_authn_context.c index 161c4c14..2bd1b7dd 100644 --- a/lasso/xml/lib_authn_context.c +++ b/lasso/xml/lib_authn_context.c @@ -110,8 +110,14 @@ lasso_lib_authn_context_get_type() return this_type; } +/** + * lasso_lib_authn_context_new: + * + * Creates a new #LassoLibAuthnContext object. + * + * Return value: a newly created #LassoLibAuthnContext object + **/ LassoNode* lasso_lib_authn_context_new() { return g_object_new(LASSO_TYPE_LIB_AUTHN_CONTEXT, NULL); } - diff --git a/lasso/xml/lib_authn_request.c b/lasso/xml/lib_authn_request.c index 472f58f9..bd4f067d 100644 --- a/lasso/xml/lib_authn_request.c +++ b/lasso/xml/lib_authn_request.c @@ -211,9 +211,15 @@ lasso_lib_authn_request_get_type() return this_type; } +/** + * lasso_lib_authn_request_new: + * + * Creates a new #LassoLibAuthnRequest object. + * + * Return value: a newly created #LassoLibAuthnRequest object + **/ LassoLibAuthnRequest* lasso_lib_authn_request_new() { return g_object_new(LASSO_TYPE_LIB_AUTHN_REQUEST, NULL); } - diff --git a/lasso/xml/lib_authn_request_envelope.c b/lasso/xml/lib_authn_request_envelope.c index 928d0db2..a4d2081e 100644 --- a/lasso/xml/lib_authn_request_envelope.c +++ b/lasso/xml/lib_authn_request_envelope.c @@ -135,12 +135,33 @@ lasso_lib_authn_request_envelope_get_type() return this_type; } + +/** + * lasso_lib_authn_request_envelope_new: + * + * Creates a new #LassoLibAuthnRequestEnvelope object. + * + * Return value: a newly created #LassoLibAuthnRequestEnvelope object + **/ LassoLibAuthnRequestEnvelope* lasso_lib_authn_request_envelope_new() { return g_object_new(LASSO_TYPE_LIB_AUTHN_REQUEST_ENVELOPE, NULL); } + +/** + * lasso_lib_authn_request_envelope_new_full: + * @authnRequest: the #LassoLibAuthnRequest to envelop + * @providerID: service provider ID + * @assertionConsumerServiceURL: assertion consumer service URL on the service + * provider + * + * Creates a new #LassoLibAuthnRequestEnvelope object and initializes it with + * the parameters. + * + * Return value: a newly created #LassoLibAuthnRequestEnvelope object + **/ LassoLibAuthnRequestEnvelope* lasso_lib_authn_request_envelope_new_full(LassoLibAuthnRequest *authnRequest, char *providerID, char *assertionConsumerServiceURL) @@ -154,4 +175,3 @@ lasso_lib_authn_request_envelope_new_full(LassoLibAuthnRequest *authnRequest, return request; } - diff --git a/lasso/xml/lib_authn_response.c b/lasso/xml/lib_authn_response.c index 7a24afab..666d6543 100644 --- a/lasso/xml/lib_authn_response.c +++ b/lasso/xml/lib_authn_response.c @@ -113,6 +113,16 @@ lasso_lib_authn_response_get_type() return authn_response_type; } + +/** + * lasso_lib_authn_response_new: + * @providerID: the identity provider ID + * @request: the #LassoLibAuthnRequest it is a response to + * + * Creates a new #LassoLibAuthnResponse object. + * + * Return value: a newly created #LassoLibAuthnResponse object + **/ LassoSamlpResponseAbstract* lasso_lib_authn_response_new(char *providerID, LassoLibAuthnRequest *request) { @@ -131,4 +141,3 @@ lasso_lib_authn_response_new(char *providerID, LassoLibAuthnRequest *request) return LASSO_SAMLP_RESPONSE_ABSTRACT(response); } - diff --git a/lasso/xml/lib_authn_response_envelope.c b/lasso/xml/lib_authn_response_envelope.c index d84998b6..64e169e4 100644 --- a/lasso/xml/lib_authn_response_envelope.c +++ b/lasso/xml/lib_authn_response_envelope.c @@ -86,6 +86,17 @@ lasso_lib_authn_response_envelope_get_type() return this_type; } +/** + * lasso_lib_authn_response_envelope_new_full: + * @authnResponse: the #LassoLibAuthnResponse to envelop + * @assertionConsumerServiceURL: assertion consumer service URL on the service + * provider + * + * Creates a new #LassoLibAuthnResponseEnvelope object and initializes it with + * the parameters. + * + * Return value: a newly created #LassoLibAuthnResponseEnvelope object + **/ LassoLibAuthnResponseEnvelope* lasso_lib_authn_response_envelope_new(LassoLibAuthnResponse *response, char *assertionConsumerServiceURL) @@ -100,4 +111,3 @@ lasso_lib_authn_response_envelope_new(LassoLibAuthnResponse *response, return envelope; } - diff --git a/lasso/xml/lib_federation_termination_notification.c b/lasso/xml/lib_federation_termination_notification.c index edf11cfa..88bbaa53 100644 --- a/lasso/xml/lib_federation_termination_notification.c +++ b/lasso/xml/lib_federation_termination_notification.c @@ -196,12 +196,33 @@ lasso_lib_federation_termination_notification_get_type() return this_type; } +/** + * lasso_lib_federation_termination_notification_new: + * + * Creates a new #LassoLibFederationTerminationNotification object. + * + * Return value: a newly created #LassoLibFederationTerminationNotification + * object + **/ LassoSamlpRequestAbstract* lasso_lib_federation_termination_notification_new() { return g_object_new(LASSO_TYPE_LIB_FEDERATION_TERMINATION_NOTIFICATION, NULL); } + +/** + * lasso_lib_federation_termination_notification_new_full: + * @providerID: the provider ID doing the notification + * @nameIdentifier: the name identifier for the federation to terminate. + * @sign_type: + * @sign_method: + * + * Creates a new #LassoLibFederationTerminationNotification object. + * + * Return value: a newly created #LassoLibFederationTerminationNotification + * object + **/ LassoSamlpRequestAbstract* lasso_lib_federation_termination_notification_new_full(char *providerID, LassoSamlNameIdentifier *nameIdentifier, diff --git a/lasso/xml/lib_idp_entries.c b/lasso/xml/lib_idp_entries.c index d109a337..c4ff7e5f 100644 --- a/lasso/xml/lib_idp_entries.c +++ b/lasso/xml/lib_idp_entries.c @@ -95,13 +95,12 @@ lasso_lib_idp_entries_get_type() /** * lasso_lib_idp_entries_new: * - * Creates a new lib:IDPEntries node object. + * Creates a new #LassoLibIDPEntries object. * - * Return value: the new #LassoLibIDPEntries + * Return value: a newly created #LassoLibIDPEntries object **/ LassoNode* lasso_lib_idp_entries_new() { return g_object_new(LASSO_TYPE_LIB_IDP_ENTRIES, NULL); } - diff --git a/lasso/xml/lib_idp_entry.c b/lasso/xml/lib_idp_entry.c index 4a6091c5..b9d5ee93 100644 --- a/lasso/xml/lib_idp_entry.c +++ b/lasso/xml/lib_idp_entry.c @@ -100,9 +100,9 @@ lasso_lib_idp_entry_get_type() /** * lasso_lib_idp_entry_new: * - * Creates a new lib:IDPEntry node object. + * Creates a new #LassoLibIDPEntry object. * - * Return value: the new @LassoLibIDPEntry + * Return value: a newly created @LassoLibIDPEntry object **/ LassoNode* lasso_lib_idp_entry_new() diff --git a/lasso/xml/lib_idp_list.c b/lasso/xml/lib_idp_list.c index c4bbdd05..4ad071ff 100644 --- a/lasso/xml/lib_idp_list.c +++ b/lasso/xml/lib_idp_list.c @@ -98,13 +98,9 @@ lasso_lib_idp_list_get_type() /** * lasso_lib_idp_list_new: * - * Creates a new lib:IDPList node object. + * Creates a new #LassoLibIDPList object. * - * In the request envelope, some profiles may wish to allow the service - * provider to transport a list of identity providers to the user agent. This - * specification provides a schema that profiles SHOULD use for this purpose. - * - * Return value: the new @LassoLibIDPList + * Return value: a newly created #LassoLibIDPList object **/ LassoNode* lasso_lib_idp_list_new() diff --git a/lasso/xml/lib_scoping.c b/lasso/xml/lib_scoping.c index 4b88b0fe..a992fd74 100644 --- a/lasso/xml/lib_scoping.c +++ b/lasso/xml/lib_scoping.c @@ -98,13 +98,12 @@ lasso_lib_scoping_get_type() /** * lasso_lib_scoping_new: * - * Creates a new lib:Scoping node object. + * Creates a new #LassoLibScoping object. * - * Return value: a new #LassoLibScoping + * Return value: a newly created #LassoLibScoping object **/ LassoLibScoping* lasso_lib_scoping_new() { return g_object_new(LASSO_TYPE_LIB_SCOPING, NULL); } - diff --git a/lasso/xml/lib_status_response.c b/lasso/xml/lib_status_response.c index 719e1ecb..6a75b2da 100644 --- a/lasso/xml/lib_status_response.c +++ b/lasso/xml/lib_status_response.c @@ -152,8 +152,14 @@ lasso_lib_status_response_get_type() return status_response_type; } +/** + * lasso_lib_status_response_new: + * + * Creates a new #LassoLibStatusResponse object. + * + * Return value: a newly created #LassoLibStatusResponse object + **/ LassoNode* lasso_lib_status_response_new() { return g_object_new(LASSO_TYPE_LIB_STATUS_RESPONSE, NULL); } - diff --git a/lasso/xml/lib_subject.c b/lasso/xml/lib_subject.c index f4cd26d4..f33854c9 100644 --- a/lasso/xml/lib_subject.c +++ b/lasso/xml/lib_subject.c @@ -95,9 +95,15 @@ lasso_lib_subject_get_type() return this_type; } +/** + * lasso_lib_subject_new: + * + * Creates a new #LassoLibSubject object. + * + * Return value: a newly created #LassoLibSubject object + **/ LassoLibSubject* lasso_lib_subject_new() { return g_object_new(LASSO_TYPE_LIB_SUBJECT, NULL); } - diff --git a/lasso/xml/saml_advice.c b/lasso/xml/saml_advice.c index 784ce115..00878af0 100644 --- a/lasso/xml/saml_advice.c +++ b/lasso/xml/saml_advice.c @@ -104,13 +104,12 @@ lasso_saml_advice_get_type() /** * lasso_saml_advice_new: * - * Creates a new saml:Advice node object. + * Creates a new #LassoSamlAdvice object. * - * Return value: the new #LassoSamlAdvice + * Return value: a newly created #LassoSamlAdvice **/ LassoNode* lasso_saml_advice_new() { return g_object_new(LASSO_TYPE_SAML_ADVICE, NULL); } - diff --git a/lasso/xml/saml_assertion.c b/lasso/xml/saml_assertion.c index cfc9c74d..401929f7 100644 --- a/lasso/xml/saml_assertion.c +++ b/lasso/xml/saml_assertion.c @@ -202,13 +202,12 @@ lasso_saml_assertion_get_type() /** * lasso_saml_assertion_new: * - * Creates a new saml:Assertion node object. + * Creates a new #LassoSamlAssertion object. * - * Return value: the new @LassoSamlAssertion + * Return value: a newly created #LassoSamlAssertion object **/ LassoSamlAssertion* lasso_saml_assertion_new() { return g_object_new(LASSO_TYPE_SAML_ASSERTION, NULL); } - diff --git a/lasso/xml/saml_attribute_designator.c b/lasso/xml/saml_attribute_designator.c index daaa2208..c9668aa5 100644 --- a/lasso/xml/saml_attribute_designator.c +++ b/lasso/xml/saml_attribute_designator.c @@ -96,13 +96,12 @@ lasso_saml_attribute_designator_get_type() /** * lasso_saml_attribute_designator_new: * - * Creates a new saml:AttributeDesignator node object. + * Creates a new #LassoSamlAttributeDesignator object. * - * Return value: the new @LassoSamlAttributeDesignator + * Return value: a newly created #LassoSamlAttributeDesignator object **/ LassoNode* lasso_saml_attribute_designator_new() { return g_object_new(LASSO_TYPE_SAML_ATTRIBUTE_DESIGNATOR, NULL); } - diff --git a/lasso/xml/saml_attribute_statement.c b/lasso/xml/saml_attribute_statement.c index 75a7034f..45724aa0 100644 --- a/lasso/xml/saml_attribute_statement.c +++ b/lasso/xml/saml_attribute_statement.c @@ -99,13 +99,12 @@ lasso_saml_attribute_statement_get_type() /** * lasso_saml_attribute_statement_new: * - * Creates a new saml:AttributeStatement node object. + * Creates a new #LassoSamlAttributeStatement object. * - * Return value: the new @LassoSamlAttributeStatement + * Return value: a newly created #LassoSamlAttributeStatement object **/ LassoNode* lasso_saml_attribute_statement_new() { return g_object_new(LASSO_TYPE_SAML_ATTRIBUTE_STATEMENT, NULL); } - diff --git a/lasso/xml/saml_audience_restriction_condition.c b/lasso/xml/saml_audience_restriction_condition.c index 25739212..8e6d9333 100644 --- a/lasso/xml/saml_audience_restriction_condition.c +++ b/lasso/xml/saml_audience_restriction_condition.c @@ -100,13 +100,12 @@ lasso_saml_audience_restriction_condition_get_type() /** * lasso_saml_audience_restriction_condition_new: * - * Creates a new saml:AudienceRestrictionCondition node object. + * Creates a new #LassoSamlAudienceRestrictionCondition object. * - * Return value: the new @LassoSamlAudienceRestrictionCondition + * Return value: a newly created #LassoSamlAudienceRestrictionCondition **/ LassoSamlAudienceRestrictionCondition* lasso_saml_audience_restriction_condition_new() { return g_object_new(LASSO_TYPE_SAML_AUDIENCE_RESTRICTION_CONDITION, NULL); } - diff --git a/lasso/xml/saml_authentication_statement.c b/lasso/xml/saml_authentication_statement.c index 352d058b..0587241d 100644 --- a/lasso/xml/saml_authentication_statement.c +++ b/lasso/xml/saml_authentication_statement.c @@ -110,13 +110,12 @@ lasso_saml_authentication_statement_get_type() /** * lasso_saml_authentication_statement_new: * - * Creates a new saml:AuthenticationStatement node object. + * Creates a new #LassoSamlAuthenticationStatement object. * - * Return value: the new @LassoSamlAuthenticationStatement + * Return value: a newly created #LassoSamlAuthenticationStatement object **/ LassoNode* lasso_saml_authentication_statement_new() { return g_object_new(LASSO_TYPE_SAML_AUTHENTICATION_STATEMENT, NULL); } - diff --git a/lasso/xml/saml_authority_binding.c b/lasso/xml/saml_authority_binding.c index 314901c7..88ffb030 100644 --- a/lasso/xml/saml_authority_binding.c +++ b/lasso/xml/saml_authority_binding.c @@ -100,13 +100,12 @@ lasso_saml_authority_binding_get_type() /** * lasso_saml_authority_binding_new: * - * Creates a new saml:AuthorityBinding node object. + * Creates a new #LassoSamlAuthorityBinding object. * - * Return value: the new @LassoSamlAuthorityBinding + * Return value: a newly created #LassoSamlAuthorityBinding object **/ LassoNode* lasso_saml_authority_binding_new() { return g_object_new(LASSO_TYPE_SAML_AUTHORITY_BINDING, NULL); } - diff --git a/lasso/xml/saml_conditions.c b/lasso/xml/saml_conditions.c index 351d7d21..fcd2e620 100644 --- a/lasso/xml/saml_conditions.c +++ b/lasso/xml/saml_conditions.c @@ -103,13 +103,12 @@ lasso_saml_conditions_get_type() /** * lasso_saml_conditions_new: * - * Creates a new saml:Conditions node object. + * Creates a new #LassoSamlConditions object. * - * Return value: the new @LassoSamlConditions + * Return value: a newly created #LassoSamlConditions object **/ LassoSamlConditions* lasso_saml_conditions_new() { return g_object_new(LASSO_TYPE_SAML_CONDITIONS, NULL); } - diff --git a/lasso/xml/saml_name_identifier.c b/lasso/xml/saml_name_identifier.c index c2d0336c..54f12839 100644 --- a/lasso/xml/saml_name_identifier.c +++ b/lasso/xml/saml_name_identifier.c @@ -102,9 +102,9 @@ lasso_saml_name_identifier_get_type() /** * lasso_saml_name_identifier_new: * - * Creates a new saml:NameIdentifier node object. + * Creates a new #LassoSamlNameIdentifier object. * - * Return value: the new @LassoSamlNameIdentifier + * Return value: a newly created #LassoSamlNameIdentifier object **/ LassoSamlNameIdentifier* lasso_saml_name_identifier_new() @@ -122,4 +122,3 @@ lasso_saml_name_identifier_new_from_xmlNode(xmlNode *xmlnode) lasso_node_init_from_xml(node, xmlnode); return LASSO_SAML_NAME_IDENTIFIER(node); } - diff --git a/lasso/xml/saml_subject.c b/lasso/xml/saml_subject.c index 674e7e2e..3ff9fbc4 100644 --- a/lasso/xml/saml_subject.c +++ b/lasso/xml/saml_subject.c @@ -101,12 +101,11 @@ lasso_saml_subject_get_type() /** * lasso_saml_subject_new: * - * Creates a new saml:Subject node object. + * Creates a new #LassoSamlSubject object. * - * Return value: the new @LassoSamlSubject + * Return value: a newly created #LassoSamlSubject object **/ LassoNode* lasso_saml_subject_new() { return g_object_new(LASSO_TYPE_SAML_SUBJECT, NULL); } - diff --git a/lasso/xml/saml_subject_confirmation.c b/lasso/xml/saml_subject_confirmation.c index 4d2e4300..96b83ac4 100644 --- a/lasso/xml/saml_subject_confirmation.c +++ b/lasso/xml/saml_subject_confirmation.c @@ -100,9 +100,9 @@ lasso_saml_subject_confirmation_get_type() /** * lasso_saml_subject_confirmation_new: * - * Creates a new saml:SubjectConfirmation node object. + * Creates a new #LassoSamlSubjectConfirmation object. * - * Return value: the new @LassoSamlSubjectConfirmation + * Return value: a newly created #LassoSamlSubjectConfirmation object **/ LassoSamlSubjectConfirmation* lasso_saml_subject_confirmation_new() diff --git a/lasso/xml/saml_subject_locality.c b/lasso/xml/saml_subject_locality.c index 87af2126..0e8eca87 100644 --- a/lasso/xml/saml_subject_locality.c +++ b/lasso/xml/saml_subject_locality.c @@ -94,12 +94,11 @@ lasso_saml_subject_locality_get_type() /** * lasso_saml_subject_locality_new: * - * Creates a new saml:SubjectLocality node object. + * Creates a new #LassoSamlSubjectLocality object. * - * Return value: the new @LassoSamlSubjectLocality + * Return value: a newly created #LassoSamlSubjectLocality object **/ LassoNode* lasso_saml_subject_locality_new() { return g_object_new(LASSO_TYPE_SAML_SUBJECT_LOCALITY, NULL); } - diff --git a/lasso/xml/saml_subject_statement.c b/lasso/xml/saml_subject_statement.c index 4c31309a..38f88c44 100644 --- a/lasso/xml/saml_subject_statement.c +++ b/lasso/xml/saml_subject_statement.c @@ -81,13 +81,12 @@ lasso_saml_subject_statement_get_type() /** * lasso_saml_subject_statement_new: * - * Creates a new saml:SubjectStatement node object. + * Creates a new #LassoSamlSubjectStatement object. * - * Return value: the new @LassoSamlSubjectStatement + * Return value: a newly created #LassoSamlSubjectStatement object **/ LassoNode* lasso_saml_subject_statement_new() { return g_object_new(LASSO_TYPE_SAML_SUBJECT_STATEMENT, NULL); } - |