Create a new credential from the provided username, password and persistence mode.
The username for the new credential
The password for the new credential
The #WebKitCredentialPersistence of the new credential
A #WebKitCredential.
ConstructionException GTK+ fails to create the object.
2.2
See Implementation
Create a new credential from the provided username, password and persistence mode.