Credential

Groups information used for user authentication.

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this(string username, string password, webkit.types.CredentialPersistence persistence)

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

Members

Functions

cPtr
void* cPtr(Flag!"Dup" dup)
copy
webkit.credential.Credential copy()

Make a copy of the #WebKitCredential.

getCertificate
gio.tls_certificate.TlsCertificate getCertificate()

Get the certificate currently held by this #WebKitCredential.

getPassword
string getPassword()

Get the password currently held by this #WebKitCredential.

getPersistence
webkit.types.CredentialPersistence getPersistence()

Get the persistence mode currently held by this #WebKitCredential.

getUsername
string getUsername()

Get the username currently held by this #WebKitCredential.

hasPassword
bool hasPassword()

Determine whether this credential has a password stored.

self
Credential self()

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()
newForCertificate
webkit.credential.Credential newForCertificate(gio.tls_certificate.TlsCertificate certificate, webkit.types.CredentialPersistence persistence)

Create a new credential from the certificate and persistence mode.

newForCertificatePin
webkit.credential.Credential newForCertificatePin(string pin, webkit.types.CredentialPersistence persistence)

Create a new credential from the provided PIN and persistence mode.

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.