Releases: ptondereau/biscuit-sf-bundle
Releases · ptondereau/biscuit-sf-bundle
v0.2.2
What's Changed
- fix(security): wire configured revocation checker into authenticator (#5) @ptondereau
Full Changelog: v0.2.1...0.2.2
v0.2.1
What's Changed
- feat: add authorizer fact templates injected by the voter (#4) @ptondereau
Full Changelog: v0.2.0...0.2.1
v0.2.0
What's Changed
- feat: support biscuit-php 0.5.0 exception hierarchy (#3) @ptondereau
Full Changelog: v0.1.1...0.2.0
v0.1.1 - first-class token attenuation
v0.1.0: Initial release
[0.1.0] - 2026-05-06
Added
KeyManagerfor loading ed25519 or secp256r1 key pairs from hex, files, or generated on demand.BiscuitTokenManagerandBiscuitTokenFactoryfor creating, signing, and parsing tokens, with support for named token templates declared in configuration.HeaderTokenExtractor,CookieTokenExtractor, andChainTokenExtractorfor pulling tokens from incoming requests.BiscuitAuthenticatorfor stateless firewalls, producing aBiscuitUserwith the verified token attached.BiscuitVoterintegrated with Symfony's#[IsGranted]attribute, executing named or inline Datalog policies against the verified token.PolicyRegistryresolving policy names to Datalog strings, with parameter binding for runtime values.- Optional token verification caching backed by any Symfony cache pool.
RevocationCheckerInterfaceand a default cache-backed implementation for enforcing revocation lists.- Web profiler data collector showing token presence, blocks, revocation IDs, and per-request policy decisions.
- Console commands:
biscuit:keys:generate,biscuit:token:create,biscuit:token:inspect,biscuit:policy:test. make:biscuit-policymaker for scaffolding policy classes.- Test helpers:
BiscuitTestTrait,TestBiscuitAuthenticator,BiscuitFixtures,BiscuitFixtureLoader.