@@ -40,7 +40,7 @@ stateDiagram-v2
4040
4141 NoAuthentication --> RequestLogin
4242 NoAuthentication --> Failure
43- note right of NoAuthentication
43+ note left of NoAuthentication
4444 Attempts to acquire an OAuth challenge from the Pkg server.
4545 If successful, proceeds to RequestLogin, or to Failure
4646 otherwise.
@@ -49,7 +49,7 @@ stateDiagram-v2
4949 HasNewToken --> HasNewToken
5050 HasNewToken --> Success
5151 HasNewToken --> Failure
52- note right of HasNewToken
52+ note left of HasNewToken
5353 Takes the token from the previous step and writes it to the
5454 auth.toml file. In order to handle potential race conditions
5555 with other writes, it will check that the write was succeful,
@@ -70,10 +70,13 @@ stateDiagram-v2
7070 ClaimToken --> ClaimToken
7171 ClaimToken --> HasNewToken
7272 ClaimToken --> Failure
73- note right of ClaimToken
73+ note left of ClaimToken
7474 Starts polling the Pkg server's OAuth token claiming endpoint,
7575 returning to ClaimToken while the polling is happening. Proceeds
7676 to HasNewToken if it successfully acquires a token, or to Failure
7777 if the polling times out, or there is an unexpected error.
7878 end note
79+
80+ Success --> [*]
81+ Failure --> [*]
7982```
0 commit comments