Credential

Constructors

this
this(WebKitCredential* webKitCredential, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this(string username, string password, WebKitCredentialPersistence persistence)

Create a new credential from the provided username, password and persistence mode.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

copy
Credential copy()

Make a copy of the #WebKitCredential.

free
void free()

Free the #WebKitCredential.

getCredentialStruct
WebKitCredential* getCredentialStruct(bool transferOwnership)

Get the main Gtk struct

getPassword
string getPassword()

Get the password currently held by this #WebKitCredential.

getPersistence
WebKitCredentialPersistence getPersistence()

Get the persistence mode currently held by this #WebKitCredential.

getStruct
void* getStruct()

the main Gtk struct as a void*

getUsername
string getUsername()

Get the username currently held by this #WebKitCredential.

hasPassword
bool hasPassword()

Determine whether this credential has a password stored.

Static functions

getType
GType getType()

Variables

ownedRef
bool ownedRef;
Undocumented in source.
webKitCredential
WebKitCredential* webKitCredential;

the main Gtk struct

Meta