Credential

protected constructor(document: Document, asReplacementForIdentifier: String?, domain: String)

Constructs a new Credential.

Parameters

document

the document to add the credential to.

asReplacementForIdentifier

the identifier of the credential this credential will replace, if not null.

domain

the domain of the credential.


protected constructor(document: Document)

Constructs a Credential from serialized data.

deserialize providing actual serialized data must be called before using this object.

Parameters

document

the Document that the credential belongs to.