Skip to main content

Module credential

Module credential 

Source
Expand description

The categories built around a credential, all of which land on a login. Each keeps the same three slots under ids of its own, and everything else rides along as a custom field.

Structsยง

CredentialFields ๐Ÿ”’
The section field ids a category uses for the username, the password and the address the credential belongs to. A slot the category does not have is None.

Constantsยง

API_CREDENTIAL_FIELDS ๐Ÿ”’
DATABASE_FIELDS ๐Ÿ”’
EMAIL_ACCOUNT_FIELDS ๐Ÿ”’
PASSWORD_FIELDS ๐Ÿ”’
SERVER_FIELDS ๐Ÿ”’
WIRELESS_ROUTER_FIELDS ๐Ÿ”’
A router has no account name, and its own password is the base stationโ€™s; the wireless network key is a separate field and stays with the rest.

Functionsยง

credential_login ๐Ÿ”’
Maps a category that carries a credential onto a login. The itemโ€™s website addresses come first; the categoryโ€™s own address follows, so a server or database is reachable by its host.
password ๐Ÿ”’
A Password item keeps its secret in the details rather than in a field, and has no username or address of its own.