Credential.newForCertificatePin
webkit.credential.Credential newForCertificatePin(string pin, webkit.types.CredentialPersistence persistence)Create a new credential from the provided PIN and persistence mode.
Note that [webkit.types.CredentialPersistence.Permanent] is not supported for certificate pin credentials.
Parameters
pin | The PIN for the new credential |
persistence | The #WebKitCredentialPersistence of the new credential |
Returns
A #WebKitCredential.