SourceAuthentication
Object Hierarchy:
Description:
[
CCode ( type_id =
"e_source_authentication_get_type ()" ) ]
[
Version ( since =
"3.6" ) ]
public class SourceAuthentication :
SourceExtension
Contains only private data that should be read and manipulated using the functions below.
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:
Methods:
- public string? dup_credential_name ()
- public string? dup_host ()
- public string? dup_method ()
- public string dup_proxy_uid ()
- public string? dup_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 ()
Returns the uid of
the Source that holds network proxy settings for use when connecting to a remote account.
- 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)
Sets the uid of the
Source that holds network proxy settings for use when connecting to a remote account.
- 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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref