Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
3.7 KiB

  1. .TH "NPM\-TOKEN" "1" "August 2018" "" ""
  2. .SH "NAME"
  3. \fBnpm-token\fR \- Manage your authentication tokens
  4. .SH SYNOPSIS
  5. .P
  6. .RS 2
  7. .nf
  8. npm token list [\-\-json|\-\-parseable]
  9. npm token create [\-\-read\-only] [\-\-cidr=1\.1\.1\.1/24,2\.2\.2\.2/16]
  10. npm token revoke <id|token>
  11. .fi
  12. .RE
  13. .SH DESCRIPTION
  14. .P
  15. This list you list, create and revoke authentication tokens\.
  16. .RS 0
  17. .IP \(bu 2
  18. \fBnpm token list\fP:
  19. Shows a table of all active authentication tokens\. You can request this as
  20. JSON with \fB\-\-json\fP or tab\-separated values with \fB\-\-parseable\fP\|\.
  21. .P
  22. .RS 2
  23. .nf
  24. +\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  25. | id | token | created | read\-only | CIDR whitelist |
  26. +\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  27. | 7f3134 | 1fa9ba… | 2017\-10\-02 | yes | |
  28. +\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  29. | c03241 | af7aef… | 2017\-10\-02 | no | 192\.168\.0\.1/24 |
  30. +\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  31. | e0cf92 | 3a436a… | 2017\-10\-02 | no | |
  32. +\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  33. | 63eb9d | 74ef35… | 2017\-09\-28 | no | |
  34. +\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  35. | 2daaa8 | cbad5f… | 2017\-09\-26 | no | |
  36. +\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  37. | 68c2fe | 127e51… | 2017\-09\-23 | no | |
  38. +\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  39. | 6334e1 | 1dadd1… | 2017\-09\-23 | no | |
  40. +\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  41. .fi
  42. .RE
  43. .IP \(bu 2
  44. \fBnpm token create [\-\-read\-only] [\-\-cidr=<cidr\-ranges>]\fP:
  45. Create a new authentication token\. It can be \fB\-\-read\-only\fP or accept a list of
  46. CIDR \fIhttps://en\.wikipedia\.org/wiki/Classless_Inter\-Domain_Routing\fR ranges to
  47. limit use of this token to\. This will prompt you for your password, and, if you have
  48. two\-factor authentication enabled, an otp\.
  49. .RE
  50. .P
  51. .RS 2
  52. .nf
  53. +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  54. | token | a73c9572\-f1b9\-8983\-983d\-ba3ac3cc913d |
  55. +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  56. | cidr_whitelist | |
  57. +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  58. | readonly | false |
  59. +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  60. | created | 2017\-10\-02T07:52:24\.838Z |
  61. +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
  62. .fi
  63. .RE
  64. .RS 0
  65. .IP \(bu 2
  66. \fBnpm token revoke <token|id>\fP:
  67. This removes an authentication token, making it immediately unusable\. This can accept
  68. both complete tokens (as you get back from \fBnpm token create\fP and will
  69. find in your \fB\|\.npmrc\fP) and ids as seen in the \fBnpm token list\fP output\.
  70. This will NOT accept the truncated token found in \fBnpm token list\fP output\.
  71. .RE