"Fossies" - the Fresh Open Source Software Archive

Member "wire-server-2021-11-15/docs/reference/federation/img/remote_user_handle_lookup.swimlanes.io.txt" (16 Nov 2021, 725 Bytes) of package /linux/misc/wire-server-2021-11-15.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 // copy the following to use with https://swimlanes.io
    2 
    3 title: PR #1319: remote user handle lookup
    4 
    5 Wire client -> brig@A: handle=alice domain=example.com
    6 
    7 brig@A -> federator@A: Outward.call(FederatedRequest(example.com, Request(..)))
    8 
    9 note federator@A,federator@B: In the future, requests between backends here should be using some server2server authentication and also make use of an authorization strategy (open federation, allow list, ...).
   10 
   11 federator@A -> federator@B: Inward.call(Request(brig, "/handle/alice"))
   12 
   13 federator@B -> brig@B: Request(/handle/alice)
   14 
   15 brig@B -> federator@B: Response
   16 
   17 federator@B -> federator@A: Response
   18 
   19 federator@A -> brig@A: Response
   20 
   21 brig@A -> Wire client: userId=1234 domain=example.com