Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 742 Bytes

02-monoctl-authentication-refresh-flow.md

File metadata and controls

25 lines (24 loc) · 742 Bytes

monoctl authentication refresh flow

sequenceDiagram
    participant U as User
    participant M as monoctl
    participant A as Ambassador
    participant G as Gateway
    participant C as CommandHandler
    U-->>+M: monoctl tenant create
    M-->>+A: calls API
    A-->>+G: authenticate request
    G-->>G: validate token
    G-->>-A: returns unauthorized
    A-->>-M: returns unauthorized
    Note right of M: Normal auth flow<br> executed by<br>monoctl.<br>See Login.
    M-->>+A: calls API
    A-->>+G: authenticate request
    G-->>G: validate token
    G-->>-A: returns authorized
    A-->>+C: calls API
    C-->>-A: returns command response
    A-->>-M: returns command response
    M-->>-U: Output command response
Loading