-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #219 from ember-nexus/github-issue/59
GitHub issue/59
- Loading branch information
Showing
43 changed files
with
1,097 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,11 +43,11 @@ | |
<span class="highlighted dimgray ">▄</span><span class="highlighted dimgray bg-red ">▀ ▀</span><span class="highlighted dimgray ">▄</span> <span class="bold ">Ember Nexus API</span> | ||
<span class="highlighted red ">▀</span><span class="highlighted white ">█</span><span class="highlighted red ">▀</span> v0.0.38, production mode | ||
|
||
<span class="bold ">User Token Create</span> | ||
<span class="bold ">Token Create</span> | ||
|
||
Found user with identifier '<span class="green ">command-[email protected]</span>', user's UUID is <span class="green ">d604dae6-3922-45bd-aa76-0a9f1fcce1d5</span>. | ||
Found user with identifier '<span class="green ">token-create-[email protected]</span>', user's UUID is <span class="green ">de970375-ae1e-46e5-9890-db04b9e51357</span>. | ||
|
||
▶ Successfully created new token: <span class="green ">secret-token:Hrdb2bgQVHiAB4EvBMhted</span> . | ||
▶ Successfully created new token: <span class="green ">secret-token:8hWTs5uFMAEYmYsRnlcZga</span> . | ||
|
||
</pre> | ||
</body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<!-- This file was created with the aha Ansi HTML Adapter. https://github.com/theZiz/aha --> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8"/> | ||
<title>stdin</title> | ||
<link rel="stylesheet" href="./cli-style.css" /> | ||
<style type="text/css"> | ||
body {color: white; background-color: black;} | ||
.reset {color: white;} | ||
.bg-reset {background-color: black;} | ||
.inverted {color: black;} | ||
.bg-inverted {background-color: white;} | ||
.dimgray {color: dimgray;} | ||
.red {color: red;} | ||
.green {color: lime;} | ||
.yellow {color: yellow;} | ||
.blue {color: #3333FF;} | ||
.purple {color: fuchsia;} | ||
.cyan {color: aqua;} | ||
.white {color: white;} | ||
.bg-black {background-color: black;} | ||
.bg-red {background-color: red;} | ||
.bg-green {background-color: lime;} | ||
.bg-yellow {background-color: yellow;} | ||
.bg-blue {background-color: #3333FF;} | ||
.bg-purple {background-color: fuchsia;} | ||
.bg-cyan {background-color: aqua;} | ||
.bg-white {background-color: white;} | ||
.underline {text-decoration: underline;} | ||
.bold {font-weight: bold;} | ||
.italic {font-style: italic;} | ||
.blink {text-decoration: blink;} | ||
.crossed-out {text-decoration: line-through;} | ||
.highlighted {filter: contrast(70%) brightness(190%);} | ||
</style> | ||
</head> | ||
<body> | ||
<pre> | ||
<span class="yellow ">Description:</span> | ||
Revoke tokens. | ||
|
||
<span class="yellow ">Usage:</span> | ||
token:revoke [options] | ||
|
||
<span class="yellow ">Options:</span> | ||
<span class="green ">-f, --force|--no-force</span> If enabled, command will not ask for manual confirmation. | ||
<span class="green "> --dry-run|--no-dry-run</span> Does not apply revocation. Also lists all tokens which would be affected. | ||
<span class="green ">-l, --list-all-affected-tokens|--no-list-all-affected-tokens</span> Lists all tokens. | ||
<span class="green ">-u, --user=USER</span> Token revocation is only applied to an given user. User can be specified by its UUID (takes precedent) or its identifier. | ||
<span class="green ">-g, --group=GROUP</span> Token revocation is only applied to users of given group. Group must be specified by its UUID. | ||
<span class="green ">-b, --issued-before=ISSUED-BEFORE</span> Token revocation is only applied to tokens issued before a given point in time. Datetime must be in the format "YYYY-MM-DD HH:MM" (UTC). | ||
<span class="green ">-a, --issued-after=ISSUED-AFTER</span> Token revocation is only applied to tokens issued after a given point in time. Datetime must be in the format "YYYY-MM-DD HH:MM" (UTC). | ||
<span class="green "> --issued-without-expiration-date</span> Token revocation is only applied to tokens with no explicit expiration date. | ||
<span class="green "> --issued-with-expiration-date</span> Token revocation is only applied to tokens with explicit expiration date set. | ||
<span class="green ">-h, --help</span> Display help for the given command. When no command is given display help for the <span class="green ">list</span> command | ||
<span class="green ">-q, --quiet</span> Do not output any message | ||
<span class="green ">-V, --version</span> Display this application version | ||
<span class="green "> --ansi|--no-ansi</span> Force (or disable --no-ansi) ANSI output | ||
<span class="green ">-n, --no-interaction</span> Do not ask any interactive question | ||
<span class="green ">-e, --env=ENV</span> The Environment name.<span class="yellow "> [default: "prod"]</span> | ||
<span class="green "> --no-debug</span> Switch off debug mode. | ||
<span class="green "> --profile</span> Enables profiling (requires debug). | ||
<span class="green ">-v|vv|vvv, --verbose</span> Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug | ||
</pre> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<!-- This file was created with the aha Ansi HTML Adapter. https://github.com/theZiz/aha --> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8"/> | ||
<title>stdin</title> | ||
<link rel="stylesheet" href="./cli-style.css" /> | ||
<style type="text/css"> | ||
body {color: white; background-color: black;} | ||
.reset {color: white;} | ||
.bg-reset {background-color: black;} | ||
.inverted {color: black;} | ||
.bg-inverted {background-color: white;} | ||
.dimgray {color: dimgray;} | ||
.red {color: red;} | ||
.green {color: lime;} | ||
.yellow {color: yellow;} | ||
.blue {color: #3333FF;} | ||
.purple {color: fuchsia;} | ||
.cyan {color: aqua;} | ||
.white {color: white;} | ||
.bg-black {background-color: black;} | ||
.bg-red {background-color: red;} | ||
.bg-green {background-color: lime;} | ||
.bg-yellow {background-color: yellow;} | ||
.bg-blue {background-color: #3333FF;} | ||
.bg-purple {background-color: fuchsia;} | ||
.bg-cyan {background-color: aqua;} | ||
.bg-white {background-color: white;} | ||
.underline {text-decoration: underline;} | ||
.bold {font-weight: bold;} | ||
.italic {font-style: italic;} | ||
.blink {text-decoration: blink;} | ||
.crossed-out {text-decoration: line-through;} | ||
.highlighted {filter: contrast(70%) brightness(190%);} | ||
</style> | ||
</head> | ||
<body> | ||
<pre> | ||
|
||
<span class="highlighted dimgray ">▄</span> | ||
<span class="highlighted dimgray ">▄</span><span class="highlighted dimgray bg-red ">▀ ▀</span><span class="highlighted dimgray ">▄</span> <span class="bold ">Ember Nexus API</span> | ||
<span class="highlighted red ">▀</span><span class="highlighted white ">█</span><span class="highlighted red ">▀</span> v0.0.38, production mode | ||
|
||
<span class="bold ">Token Revocation</span> | ||
|
||
51 tokens are affected by revocation. First 10 are shown: | ||
|
||
<span class="bold ">Token UUID </span> <span class="bold ">User UUID </span> <span class="bold ">User identifier </span> <span class="bold ">Created </span> <span class="bold ">Expires on </span> | ||
374fa7ea-4df7-475c-a6a6-b35ff7b9bae1 1a0fd886-9f62-497f-8d20-bd61a40b49b7 [email protected] 2023-12-16 15:29:06 - | ||
840fee16-996e-4b1a-af2a-77d77c4aeda7 a70e49dc-ec45-414a-beb2-43e6fa56eb41 [email protected] 2023-12-16 15:29:06 - | ||
5f450171-c535-4365-ac70-a283955d4ff5 4250a83d-707b-4f7a-b7dc-225af430f093 [email protected] 2023-12-16 15:29:06 - | ||
9543e70d-6552-4409-ab6a-dfaf003382a2 8d70608f-ebca-4077-98d2-12733b7fd08e [email protected] 2023-12-16 15:29:06 - | ||
6009d74a-1db9-4d1a-bc16-a948706dca58 2274873a-b9a2-4e77-b330-900857b76c1d [email protected] 2023-12-16 15:29:06 - | ||
571b30e2-40eb-43f5-a888-a6b7ec6c15fc fdf0509d-812c-4435-a863-a4fd6f17e9c4 [email protected] 2023-12-16 15:29:06 - | ||
ca9fa4fe-1fbd-4e8a-a6bf-701d97a7ec12 7935a9d2-e453-4dec-bc4a-243e3ced678a [email protected] 2023-12-16 15:29:06 - | ||
84e32a4f-840b-435a-a064-2e72f19d8b20 53ae199c-6b71-44c1-b10c-fca306b32cbf [email protected] 2023-12-16 15:29:06 - | ||
befd839e-5711-414e-8fe3-a8a3225dd603 1eb25cca-9c9e-4ec9-a9be-9044741b2b8c [email protected] 2023-12-16 15:29:06 - | ||
ed1891bf-d7a8-4e64-ba0d-ebec82ad173e 1eb25cca-9c9e-4ec9-a9be-9044741b2b8c [email protected] 2023-12-16 15:29:06 - | ||
|
||
Revoking tokens... | ||
|
||
▶ Successfully revoked tokens. | ||
|
||
</pre> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ | |
|
||
<span class="bold ">User Create</span> | ||
|
||
▶ Created user with email '<span class="green ">[email protected]</span>' successfully, UUID is <span class="green ">d604dae6-3922-45bd-aa76-0a9f1fcce1d5</span>. | ||
▶ Created user with email '<span class="green ">[email protected]</span>' successfully, UUID is <span class="green ">0332e376-52e7-46b6-9336-d1b9e258a5f1</span>. | ||
|
||
</pre> | ||
</body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# `token:create` | ||
|
||
<div class="code-title auto-refresh">Help Output</div> | ||
|
||
```bash | ||
php bin/console token:create --help | ||
``` | ||
|
||
[](../assets/token-create-help.html ':include :type=html') | ||
|
||
<div class="code-title auto-refresh">Example Command</div> | ||
|
||
```bash | ||
php bin/console token:create [email protected] 1234 | ||
``` | ||
|
||
[](../assets/token-create.html ':include :type=html') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# `token:revoke` | ||
|
||
<div class="code-title auto-refresh">Help Output</div> | ||
|
||
```bash | ||
php bin/console token:revoke --help | ||
``` | ||
|
||
[](../assets/token-revoke-help.html ':include :type=html') | ||
|
||
<div class="code-title auto-refresh">Example Command</div> | ||
|
||
```bash | ||
php bin/console token:revoke -f | ||
``` | ||
|
||
[](../assets/token-revoke.html ':include :type=html') |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.