Skip to content
Browse files

minor doc update

Change-Id: I37bd876a670e574e60081bad79c86fef9eacebf9
  • Loading branch information...
1 parent d6ba7ca commit 51d90be423459e127dad2d8f6a0f49131391a807 @daleolds daleolds committed Feb 14, 2012
Showing with 5 additions and 5 deletions.
  1. +4 −4 docs/diagrams/resource-ids-flow.txt
  2. +1 −1 docs/diagrams/scopes-flow.txt
View
8 docs/diagrams/resource-ids-flow.txt
@@ -8,7 +8,7 @@ Client->AuthServer: {client_id: mgt, scope: read}
activate AuthServer
AuthServer->ClientRegistry: {client_id: mgt}
activate ClientRegistry
-ClientRegistry->AuthServer: {scopes: [read, write], resource_ids: [cc, bosh])
+ClientRegistry->AuthServer: {scopes: [read, write], resource_ids: [cc1, cc2])
deactivate ClientRegistry
note left of AuthServer:
AuthServer doesn't need to know
@@ -17,11 +17,11 @@ intends to access.
end note
note over AuthServer: scopes.contains(scope)?
AuthServer->AuthServer: messages for UI
-AuthServer->User: {messages: "Do you approve client=mgt to access \nyour resources on servers [cc,bosh] in scope 'read'?"}
+AuthServer->User: {messages: "Do you approve client=mgt to access \nyour resources on servers [cc1,cc2] in scope 'read'?"}
activate User
User->AuthServer: approve
deactivate User
-AuthServer->TokenService: access_token->{client_id: mgt, scope: read, resource_ids: [cc, bosh]}
+AuthServer->TokenService: access_token->{client_id: mgt, scope: read, resource_ids: [cc1, cc2]}
note right of AuthServer:
The TokenService has stored the
valid resource ids for later use
@@ -33,7 +33,7 @@ Client->ResourceServer: request(access_token)
activate ResourceServer
ResourceServer->TokenService: access_token
activate TokenService
-TokenService->ResourceServer: {client_id: mgt, scope: read, resource_ids: [cc, bosh]}
+TokenService->ResourceServer: {client_id: mgt, scope: read, resource_ids: [cc1, cc2]}
deactivate TokenService
note over ResourceServer: resource_ids.contains(cc)?
note over ResourceServer: scope permitted?
View
2 docs/diagrams/scopes-flow.txt
@@ -8,7 +8,7 @@ Client->AuthServer: {client_id: mgt, scope: cc/read}
activate AuthServer
AuthServer->ClientRegistry: {client_id: mgt}
activate ClientRegistry
-ClientRegistry->AuthServer: {scopes: [cc/read, cc/write, bosh/read])
+ClientRegistry->AuthServer: {scopes: [cc/read, cc/write, cc-exp/read])
deactivate ClientRegistry
note over AuthServer: scopes.contains(scope)?
opt ResourceServer visible and supports message discovery

0 comments on commit 51d90be

Please sign in to comment.
Something went wrong with that request. Please try again.