Shared identity resolution and authorization client for SweetRPG's Go APIs: verifies bearer
tokens against auth-api (POST /authz/check), resolves the subject to the canonical
users._id via users-api (GET /profile), and exposes Gin middleware (ResolveViewer,
RequireAnyRole) that stashes the identity in the request context alongside Viewer(c),
Roles(c), Subject(c), and Token(c) accessors.
go get github.com/sweetrpg/authz-client.goPackage documentation: pkg.go.dev/github.com/sweetrpg/authz-client.go.
Test coverage reports are published to sweetrpg.github.io/authz-client.go
on every merge to develop.
See CONTRIBUTING.md for the development workflow and RELEASE.md for how versions get cut.