KeyringAddKeyPlain

The KeyringAddKeyPlain method adds a plain-text password to a keyring.

string KeyringAddKeyPlain(
    string keyring,
    long realmId,
    string password
    )

Parameters

keyring
Keyring string as returned from a previous call to a keyring management method. Null or an empty string indicate a new keyring is to be created.
realmId
64-bit identifier of the access realm for which to add the password
password
Plain-text password for the specified realm

Returns

An updated keyring string

Remarks

Keyring is an opaque value that incapsulates passwords to groups, photosets, and photos known to the user. The application provides the keyring in the X-Zenfolio-Keyring header when calling the Zenfolio API, downloading, or uploading photos.

To protect plain-text passwords from being seen by intermediate parties, it is recommended to call this method only over an HTTPS connection.

See Also

Index