Authentication and binding

Session validates the token via API, gets/creates the Player Actor, and binds the STREAM session

Authentication and binding Session validates the token via API, gets/creates the Player Actor, and binds the STREAM session AuthenticateReq AuthenticatePlayerReq AuthenticatePlayerRes Get or create Player Actor ActorRef AuthenticateRes (after Session binds the current STREAM session) Client · Sequence participant Client Session · Sequence participant Session API · Sequence participant API Play · Sequence participant Play

Binding step and route

  • • Between ActorRef and AuthenticateRes, Session binds the current STREAM session to the returned ActorRef (mermaid Session self-message).
  • • mermaid Note over Session,Play: later packets use the stored binding route — game packets after AuthenticateRes is returned are relayed to the Actor via the stored binding route.

Ownership boundary

  • • Session asks API to validate the token; on success Session gets or creates the Player Actor by global ActorId and stable actor type.
  • • Session doesn't store the physical Play endpoint or NodeRid. If the Actor moves via a planned relocation, the Framework updates the binding route.