Credential

class Credential(val webkitCredentialPointer: <Error class: unknown class><<Error class: unknown class>>)(source)

Groups information used for user authentication.

Since

2.2

Constructors

Link copied to clipboard
constructor(username: String, password: String, persistence: CredentialPersistence)

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

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

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

constructor(pin: String, persistence: CredentialPersistence)

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

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val webkitCredentialPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard

Make a copy of the #WebKitCredential.

Link copied to clipboard
fun free()

Free the #WebKitCredential.

Link copied to clipboard
fun getCertificate(): <Error class: unknown class>

Get the certificate currently held by this #WebKitCredential.

Link copied to clipboard

Get the password currently held by this #WebKitCredential.

Link copied to clipboard

Get the persistence mode currently held by this #WebKitCredential.

Link copied to clipboard

Get the username currently held by this #WebKitCredential.

Link copied to clipboard

Determine whether this credential has a password stored.