| Top |  |  |  |  | 
| SignonIdentityInfoSignonIdentityInfo — Extra data for a SignonIdentity. | 
SignonIdentityInfo * signon_identity_info_new ();
Creates a new SignonIdentityInfo item.
SignonIdentityInfo *
signon_identity_info_copy (const SignonIdentityInfo *other);
Get a newly-allocated copy of info
.
void
signon_identity_info_free (SignonIdentityInfo *info);
Destroys the given SignonIdentityInfo item.
void signon_identity_info_add_access_control (SignonIdentityInfo *info,const gchar *system_context,const gchar *application_context);
Add an ACL to this identity. This is an helper function.
| info | the SignonIdentityInfo. | |
| system_context | the system context to add. | |
| application_context | the application context to add. | 
GList *
signon_identity_info_get_access_control_list
                               (const SignonIdentityInfo *info);
Get an array of ACL statements of the identity.
a GList of
SignonSecurityContext representing ACL statements.
Each element should be freed with signon_security_context_copy() after use. 
[transfer full][element-type SignonSecurityContext]
const gchar *
signon_identity_info_get_caption (const SignonIdentityInfo *info);
Get the display name of info
.
gint
signon_identity_info_get_id (const SignonIdentityInfo *info);
Get the numeric ID of info
.
SignonIdentityType
signon_identity_info_get_identity_type
                               (const SignonIdentityInfo *info);
Get the type of the identity.
const GHashTable *
signon_identity_info_get_methods (const SignonIdentityInfo *info);
Get a hash table of the methods and mechanisms of info
.
const gchar * const *
signon_identity_info_get_realms (const SignonIdentityInfo *info);
Get an array of the realms of info
.
gboolean
signon_identity_info_get_storing_secret
                               (const SignonIdentityInfo *info);
Get whether the secret of info
 should be stored.
const gchar *
signon_identity_info_get_username (const SignonIdentityInfo *info);
Get the username of info
.
void signon_identity_info_remove_method (SignonIdentityInfo *info,const gchar *method);
Remove method
 from the list of allowed authentication methods. If all
methods are removed, then all methods are allowed.
void signon_identity_info_set_access_control_list (SignonIdentityInfo *info,GList *access_control_list);
Specifies the ACL for this identity. The actual meaning of the ACL depends on the security framework used by signond.
| info | the SignonIdentityInfo. | |
| access_control_list | a GList of SignonSecurityContext representing ACL security domains. | [element-type SignonSecurityContext] | 
void signon_identity_info_set_caption (SignonIdentityInfo *info,const gchar *caption);
Sets the caption (display name) for the identity.
void signon_identity_info_set_identity_type (SignonIdentityInfo *info,SignonIdentityType type);
Specifies the type of this identity.
void signon_identity_info_set_method (SignonIdentityInfo *info,const gchar *method,const gchar * const *mechanisms);
Adds a method to the list of allowed methods. If this method is not called even once, then all methods are allowed. Mechanisms are method-specific variants of authentication.
| info | the SignonIdentityInfo. | |
| method | an authentication method. | |
| mechanisms | a  | [array zero-terminated=1] | 
void signon_identity_info_set_realms (SignonIdentityInfo *info,const gchar * const *realms);
Specify what realms this identity can be used in.
| info | the SignonIdentityInfo. | |
| realms | a  | [array zero-terminated=1] | 
void signon_identity_info_set_secret (SignonIdentityInfo *info,const gchar *secret,gboolean store_secret);
Sets the secret (password) for the identity, and whether the signon daemon should remember it.
| info | the SignonIdentityInfo. | |
| secret | the secret. | |
| store_secret | whether signond should store the secret in its DB. | 
void signon_identity_info_set_username (SignonIdentityInfo *info,const gchar *username);
Sets the username for the identity.
typedef struct _SignonIdentityInfo SignonIdentityInfo;
Opaque struct. Use the accessor functions below.