Generate a password and copy to the clipboard.
Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/PasswordGenerator.spoon.zip
| Signature | PasswordGenerator.password_generator_function |
|---|---|
| Type | Variable |
| Description | Explicit function used to generate passwords, if nil style is used instead. |
| Source | Source/PasswordGenerator.spoon/init.lua line 108 |
| Signature | PasswordGenerator.password_length |
|---|---|
| Type | Variable |
| Description | Length of generated passwords. Is ignored by style xkcd. |
| Source | Source/PasswordGenerator.spoon/init.lua line 113 |
| Signature | PasswordGenerator.password_style |
|---|---|
| Type | Variable |
| Description | Style for the generated password. |
| Source | Source/PasswordGenerator.spoon/init.lua line 100 |
| Signature | PasswordGenerator.word_count |
|---|---|
| Type | Variable |
| Description | Number of words in generated passwords. Used by xkcd. |
| Source | Source/PasswordGenerator.spoon/init.lua line 118 |
| Signature | PasswordGenerator.word_leet |
|---|---|
| Type | Variable |
| Description | Which word number will have its word |
| Notes |
|
| Source | Source/PasswordGenerator.spoon/init.lua line 123 |
| Signature | PasswordGenerator.word_separators |
|---|---|
| Type | Variable |
| Description | String of separators to use between words. |
| Notes |
|
| Source | Source/PasswordGenerator.spoon/init.lua line 132 |
| Signature | PasswordGenerator.word_uppercase |
|---|---|
| Type | Variable |
| Description | Number of words to uppercase the first letter. |
| Notes |
|
| Source | Source/PasswordGenerator.spoon/init.lua line 141 |
| Signature | PasswordGenerator:bindHotkeys(mapping) |
|---|---|
| Type | Method |
| Description | Binds hotkeys for PasswordGenerator |
| Parameters |
|
| Returns | |
| Source | Source/PasswordGenerator.spoon/init.lua line 149 |
| Signature | PasswordGenerator:copyPassword() |
|---|---|
| Type | Method |
| Description | Generates a password and copies to clipboard |
| Parameters |
|
| Returns |
|
| Source | Source/PasswordGenerator.spoon/init.lua line 178 |
| Signature | PasswordGenerator:pastePassword() |
|---|---|
| Type | Method |
| Description | Generates a password and types it |
| Parameters |
|
| Returns |
|
| Source | Source/PasswordGenerator.spoon/init.lua line 193 |