webkit.credential

Module for [Credential] class

Types 1

Groups information used for user authentication.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
Credential self()Returns `this`, for use in `with` statements.
webkit.credential.Credential newForCertificate(gio.tls_certificate.TlsCertificate certificate, webkit.types.CredentialPersistence persistence)Create a new credential from the certificate and persistence mode.
webkit.credential.Credential newForCertificatePin(string pin, webkit.types.CredentialPersistence persistence)Create a new credential from the provided PIN and persistence mode.
webkit.credential.Credential copy()Make a copy of the #WebKitCredential. Returns: A copy of passed in #WebKitCredential
gio.tls_certificate.TlsCertificate getCertificate()Get the certificate currently held by this #WebKitCredential. Returns: a #GTlsCertificate, or null
string getPassword()Get the password currently held by this #WebKitCredential. Returns: The password stored in the #WebKitCredential.
webkit.types.CredentialPersistence getPersistence()Get the persistence mode currently held by this #WebKitCredential. Returns: The #WebKitCredentialPersistence stored in the #WebKitCredential.
string getUsername()Get the username currently held by this #WebKitCredential. Returns: The username stored in the #WebKitCredential.
bool hasPassword()Determine whether this credential has a password stored. Returns: true if the credential has a password or false otherwise.
Constructors
this(void * ptr, Flag!"Take" take)
this(string username, string password, webkit.types.CredentialPersistence persistence)Create a new credential from the provided username, password and persistence mode.