Credential

constructor(username: String, password: String, persistence: CredentialPersistence)(source)

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

Return

A #WebKitCredential.

Since

2.2

Parameters

username

The username for the new credential

password

The password for the new credential

persistence

The #WebKitCredentialPersistence of the new credential


constructor(certificate: <Error class: unknown class>? = null, persistence: CredentialPersistence)(source)

Create a new credential from the @certificate and persistence mode.

Note that %WEBKIT_CREDENTIAL_PERSISTENCE_PERMANENT is not supported for certificate credentials.

Return

A #WebKitCredential.

Since

2.34

Parameters

certificate

The #GTlsCertificate, or null

persistence

The #WebKitCredentialPersistence of the new credential


constructor(pin: String, persistence: CredentialPersistence)(source)

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

Note that %WEBKIT_CREDENTIAL_PERSISTENCE_PERMANENT is not supported for certificate pin credentials.

Return

A #WebKitCredential.

Since

2.34

Parameters

pin

The PIN for the new credential

persistence

The #WebKitCredentialPersistence of the new credential


constructor(webkitCredentialPointer: <Error class: unknown class><<Error class: unknown class>>)(source)