AWG flows login
AWG Login strawman
This is a strawman flow for first contact to rezzed avatar. It is very much a rough cut, work in progress, choose your favorite words to indicate raw, unfinished, proto work.
We will describe two sub cases. One with the agent host coordinating, one with the client in control. Note that the calls made are similar, the locus of control merely changes.
- Components
- User Client
- Initial Authentication and profile Service: SecundusVita
- Agent Domain host
- Presence Management service
- Public Asset Host Public_asset_host_a
- Public Asset Host Public_asset_host_b
- Private asset Host Private_asset_host_p
- Simulator host JoesDiner
See also Second_Life_Login_API_Strawman
Sequence
- Initial login
The client contacts a well known hosting server, "SecundsVita" and passes in it's login information. The client receives back, a set of annotated services and properties which represent the services the client will contact in the next steps. This includes:
- The capability form of the login service for the agent domain host for the avatar
In order to pass this capability, the hosting server must perform several subordinate flows
- locate agent host for avatar
This will cause a lookup to be done, which will return the service hosts desired server for the agent host
- Create hosting capability
This is a call on the agent host, which causes it to create and return a capability for the client to use when contacting the agent host. (Note this nicely secures the connection)
- A set of properties about the avatar (enumerating where the avatars assets are stored, the last sim the avatar was in, the home sim of the avatar... )
- Agent domain login
- The client uses the capability acquired in step X to connect to the agent host. It passes the properties from step X, along with any additional ones it cares to add.
The agent host then performs a set of steps to get the agent populated and ready to use
(Two paths here. We pass the properties up, or the agent domain fetches them, I think I prefer the client passing them up, but I can be had on doing it elsewise.) The agent host gets assets
- presence host, post login agent credentials X, no location
- Public_asset_host A, get current agent state (stored set of assets defining the agent's appearence, etc)
- Public_asset_host A, Get asset list for agent credentials X
- public_asset_host B, get asset list for agent credentials X
- private_asset_host P, get asset list for agent credentials X
The agent host stores the assets lists and, possibly, signals the client to begin downloading themm
The agent host contacts the sim requested by the client (we'll assume, last, home, or specified, similar to SL today)
- Sim54, request agent arrival, agent credentials X, location X,Y,Z (returns a capability to the agent proxy on the sim, if allowed)
- Agent host passes the capability to the client
- Sim54//capability, Rez Agent, AssetList (Returns, X,Y,Z of agent)
- presence host, post agent rez, Sim, X,Y,Z