session->accessJwt; } /** * Adds authentication proof to the request. */ public function sign(RequestInterface $request): RequestInterface { return $request->withHeader('Authorization', 'Bearer ' . $this->session->accessJwt); } /** * Returns the subject DID. */ public function getSubjectDid(): string { return $this->session->did; } /** * Returns the PDS URL. */ public function getPdsUrl(): ?string { return $this->session->pdsUrl; } }