WebKit2.Credential
Description: Reference for WebKit2.Credential

### Struct

# WebKit2Credential

since: 2.2

#### Description [src]

    struct WebKitCredential {
      /* No available fields */
    }

Groups information used for user authentication.

Available since: 2.2

#### Constructors

###### webkit_credential_new

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

since: 2.2

###### webkit_credential_new_for_certificate

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

since: 2.34

###### webkit_credential_new_for_certificate_pin

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

since: 2.34

#### Instance methods

###### webkit_credential_copy

Make a copy of the `WebKitCredential`.

since: 2.2

###### webkit_credential_free

Free the `WebKitCredential`.

since: 2.2

###### webkit_credential_get_certificate

Get the certificate currently held by this `WebKitCredential`.

since: 2.34

###### webkit_credential_get_password

Get the password currently held by this `WebKitCredential`.

since: 2.2

###### webkit_credential_get_persistence

Get the persistence mode currently held by this `WebKitCredential`.

since: 2.2

###### webkit_credential_get_username

Get the username currently held by this `WebKitCredential`.

since: 2.2

###### webkit_credential_has_password

Determine whether this credential has a password stored.

since: 2.2