Skip to main content

Module login

Module login 

Source
Expand description

The Login category, and the pieces every category that lands on a login shares.

Constantsยง

TOTP_PREFIX ๐Ÿ”’
1Password stores a one-time password in a section field whose stable id carries this prefix.

Functionsยง

first_totp ๐Ÿ”’
Reads the itemโ€™s first one-time password, with the position of the field it came from. A TOTP_ field can arrive without a secret, so the first one carrying a value wins; any further one stays a custom field, since a cipher has room for only one.
login ๐Ÿ”’
login_uris ๐Ÿ”’
Turns addresses into login URIs, collapsing an address given twice into a single URI.
website_addresses ๐Ÿ”’
The itemโ€™s website addresses. 1Password keeps the primary one in url and repeats it in URLs.