• #dev 2021-06-05
  • Prev
    Next
  • #indieweb
  • #dev
  • #wordpress
  • #meta
  • #stream
  • #microformats
  • #known
  • #events
#dev ≡
  • ←
  • →
2021-06-05 UTC
# 16:31
Zegnat
On a very high level, I would expect the IndieAuith server to be a PSR-15 request handler. So you would have $iaserver->handle($request). And when I create $iaserver I would have passed in an attribute name like "isAuthenticated". Then when the IndieAuth server is handling a ServerRequest it can do $req->getAttribute($this->attributeName) to figure out what the application has set as the current state