···8888 $this->app = $app;
8989 }
90909191- public function as(string $handleOrDid): AtpClient
9191+ public function as(string $actor): AtpClient
9292 {
9393 return new AtpClient(
9494 $this->app->make(SessionManager::class),
9595- $handleOrDid
9595+ $actor
9696 );
9797 }
98989999- public function login(string $handleOrDid, string $password): AtpClient
9999+ public function login(string $actor, string $password): AtpClient
100100 {
101101 $this->app->make(SessionManager::class)
102102- ->fromAppPassword($handleOrDid, $password);
102102+ ->fromAppPassword($actor, $password);
103103104104- return $this->as($handleOrDid);
104104+ return $this->as($actor);
105105 }
106106107107 public function oauth(): OAuthEngine
+3-3
src/Auth/ScopeGate.php
···3131 }
32323333 /**
3434- * Set the session context via handle or DID.
3434+ * Set the session context via actor (handle or DID).
3535 */
3636- public function forUser(string $handleOrDid): self
3636+ public function forUser(string $actor): self
3737 {
3838 $instance = new self($this->sessions, $this->checker);
3939- $instance->session = $this->sessions->session($handleOrDid);
3939+ $instance->session = $this->sessions->session($actor);
40404141 return $instance;
4242 }