Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
communications-backbone
Commits
fad98403
Unverified
Commit
fad98403
authored
2 years ago
by
Dan Jones
Browse files
Options
Download
Email Patches
Plain Diff
docs: explain auth placeholder code
parent
006c23be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
README.md
README.md
+9
-0
No files found.
README.md
View file @
fad98403
...
...
@@ -22,6 +22,15 @@ decided what the infrastructure looks like.
There is a parallel flow when a client sends to `
client-a-notify
` in which case the
messages are delivered through the broadcast exchange to all clients `
client-x-inbox
`.
### Auth placeholder
As a proxy for proper authentication, when you post a client a random secret is
returned in the response. To send to / receive from the bus you then call the API
with the client_id and secret and it checks they match. The client_id determines
which queues it reads from.
Subsequent requests to the client endpoint return the client_id but not the secret.
### Setup
```
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment