| Lasso Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
LassoIdentity;
LassoIdentity* lasso_identity_new (void);
LassoIdentity* lasso_identity_new_from_dump (const gchar *dump);
LassoFederation* lasso_identity_get_federation (LassoIdentity *identity,
const char *providerID);
void lasso_identity_destroy (LassoIdentity *identity);
gchar* lasso_identity_dump (LassoIdentity *identity);
A LassoIdentity object records the identifers that a principal use two federate pairs of providers.
typedef struct {
LassoNode parent;
GHashTable *federations; /* of LassoFederation */
gboolean is_dirty;
} LassoIdentity;
LassoIdentity* lasso_identity_new (void);
Creates a new LassoIdentity.
Returns : |
a newly created LassoIdentity |
LassoIdentity* lasso_identity_new_from_dump (const gchar *dump);
Restores the dump to a new LassoIdentity.
|
XML server dump |
Returns : |
a newly created LassoIdentity; or NULL if an error occured |
LassoFederation* lasso_identity_get_federation (LassoIdentity *identity,
const char *providerID);
Looks up and returns the LassoFederation for this provider ID.
|
a LassoIdentity |
|
the provider ID |
Returns : |
transfer none. transfer none. |
void lasso_identity_destroy (LassoIdentity *identity);
Destroys an identity.
|
a LassoIdentity |