SourceAuthentication
Object Hierarchy:
Description:
[ CCode ( type_id = "e_source_authentication_get_type ()" ) ]
[ Version ( since = "3.6" ) ]
public class SourceAuthentication : SourceExtension
[ Version ( since = "3.6" ) ]
public class SourceAuthentication : SourceExtension
Contains only private data that should be read and manipulated using the functions below.
Namespace: E
Package: libedataserver-1.2
Content:
Properties:
- public SocketConnectable connectable { owned get; }
- public string credential_name { get; set construct; }
- public string host { get; set construct; }
- public bool is_external { get; set construct; }
- public string method { get; set construct; }
- public uint port { get; set construct; }
- public string proxy_uid { get; set construct; }
- public bool remember_password { get; set construct; }
- public string user { get; set construct; }
Creation methods:
- protected SourceAuthentication ()
Methods:
- public string? dup_credential_name ()
Thread-safe variation of get_credential_name.
- public string? dup_host ()
Thread-safe variation of get_host.
- public string? dup_method ()
Thread-safe variation of get_method.
- public string dup_proxy_uid ()
Thread-safe variation of get_proxy_uid.
- public string? dup_user ()
Thread-safe variation of get_user.
- public unowned string? get_credential_name ()
Returns the credential name used to pass the stored or gathered credential (like password) into the invoke_authenticate.
- public unowned string? get_host ()
Returns the host name used to authenticate to a remote account.
- public bool get_is_external ()
Get if the authentication is done by an external application such as a Single Sign On application (e.g. GNOME Online Accounts)
- public unowned string? get_method ()
Returns the authentication method for a remote account.
- public uint16 get_port ()
Returns the port number used to authenticate to a remote account.
- public unowned string get_proxy_uid ()
- public bool get_remember_password ()
Returns whether to offer to remember the provided password by default in password prompts.
- public unowned string? get_user ()
Returns the user name used to authenticate to a remote account.
- public SocketConnectable? ref_connectable ()
Returns a SocketConnectable instance constructed from this's host and port properties, or
null
if the host is not set. - public bool required ()
This is a convenience function which returns whether authentication is required at all, regardless of the method used.
- public void set_credential_name (string? credential_name)
Sets the credential name used to pass the stored or gathered credential (like password) into the invoke_authenticate.
- public void set_host (string? host)
Sets the host name used to authenticate to a remote account.
- public void set_is_external (bool is_external)
Set if the authentication is done by an external application such as a Single Sign On application (e.g. GNOME Online Accounts)
- public void set_method (string? method)
Sets the authentication method for a remote account.
- public void set_port (uint16 port)
Sets the port number used to authenticate to a remote account.
- public void set_proxy_uid (string proxy_uid)
- public void set_remember_password (bool remember_password)
Sets whether to offer to remember the provided password by default in password prompts.
- public void set_user (string? user)
Sets the user name used to authenticate to a remote account.
Inherited Members:
All known members inherited from class E.SourceExtension
All known members inherited from class GLib.Object