• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bleedingdeacons / fellowship / 36469344728
91%

Build:
DEFAULT BRANCH: main
Ran 28 Sep 2026 07:04PM UTC
Jobs 1
Files 66
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Sep 2026 07:01PM UTC coverage: 90.75% (-0.3%) from 91.024%
36469344728

push

github

web-flow
feat: let another plugin sign a device in through Fellowship's browser leg (#34)

Adds Fellowship\Auth\IdentityBroker, so another plugin (Freedom) can get a
Google-verified address, or accept a live Link enrolment, without a second
copy of the OAuth classes and without any change to Google's console.

The two rules the browser leg hard-coded for Link - redirect only to
link://auth, issue a code only to a member - move into a SignInAudience.
Link's is LinkAudience and behaves exactly as before; another plugin
registers its own on fellowship/loaded.

- StateStore and DeviceCodeStore record the audience and an opaque
  context. A code is issued for one audience and refused, and spent, by
  every other. Records written before audiences existed read as Link's,
  so sign-ins in flight across the deploy still finish.
- IdentityBroker::begin()/redeem() run the browser leg for another
  audience; sessionFor()/isLive() let it accept a Link device token in
  place of a second sign-in and stop when that enrolment stops.
- CurrentDevice::resolveToken() factors the bearer lookup out of
  resolve() so the broker can use it without a request.
- README: "Signing in on behalf of another plugin", with the must-agree
  list of classes Freedom now depends on.

3640 of 4011 relevant lines covered (90.75%)

7.45 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
96.67
0.02% fellowship/fellowship/src/Rest/DeviceAuthController.php
1
92.86
2.23% fellowship/fellowship/src/Auth/DeviceCodeStore.php
1
91.67
1.34% fellowship/fellowship/src/Auth/StateStore.php
Jobs
ID Job ID Ran Files Coverage
1 36469344728.1 28 Sep 2026 07:04PM UTC 66
90.75
GitHub Action Run
Source Files on build 36469344728
  • Tree
  • List 66
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36469344728
  • e792da17 on github
  • Prev Build on main (#36340246063)
  • Next Build on main (#36727019497)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc