webkit.credential

Module for [Credential] class

Types 1

Groups information used for user authentication.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
Credential self() nothrowReturns `this`, for use in `with` statements.
webkit.credential.Credential newForCertificate(gio.tls_certificate.TlsCertificate certificate, webkit.types.CredentialPersistence persistence) static nothrowCreate a new credential from the certificate and persistence mode.
webkit.credential.Credential newForCertificatePin(string pin, webkit.types.CredentialPersistence persistence) static nothrowCreate a new credential from the provided PIN and persistence mode.
webkit.credential.Credential copy() nothrowMake a copy of the #WebKitCredential. Returns: A copy of passed in #WebKitCredential
gio.tls_certificate.TlsCertificate getCertificate() nothrowGet the certificate currently held by this #WebKitCredential. Returns: a #GTlsCertificate, or null
string getPassword() nothrowGet the password currently held by this #WebKitCredential. Returns: The password stored in the #WebKitCredential.
webkit.types.CredentialPersistence getPersistence() nothrowGet the persistence mode currently held by this #WebKitCredential. Returns: The #WebKitCredentialPersistence stored in the #WebKitCredential.
string getUsername() nothrowGet the username currently held by this #WebKitCredential. Returns: The username stored in the #WebKitCredential.
bool hasPassword() nothrowDetermine 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.