Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a02e47-6aac-7ee1-914d-0584c75d3c81 |
||
|---|---|---|
| .. | ||
| check_request_allow.json | ||
| check_request_deny_unknown.json | ||
| policy_fixtures.yaml | ||
| policy_package.md | ||
| protected_system_manifest.yaml | ||
| README.md | ||
| registry_snapshot.json | ||
| resource_manifest.yaml | ||
| subject_manifest.yaml | ||
Railiance Platform credential-grant example
This package provides the flex-auth side of FLEX-WP-0012: registered grant
metadata, representative requester subjects, a default-deny issue policy,
and fixtures for TTL, actor type, purpose, delivery mode, and unknown grants.
The wire translation is intentionally outside the policy. Both candidate
integration shapes must emit requested_ttl_seconds as a positive number;
duration strings such as 15m are rejected rather than guessed.
go run ./cmd/flex-auth load-registry --file examples/railiance-platform/registry_snapshot.json
go run ./cmd/flex-auth test-policy --file examples/railiance-platform/policy_package.md
go run ./cmd/flex-auth check --registry examples/railiance-platform/registry_snapshot.json --policy examples/railiance-platform/policy_package.md --request examples/railiance-platform/check_request_allow.json
go run ./cmd/flex-auth check --registry examples/railiance-platform/registry_snapshot.json --policy examples/railiance-platform/policy_package.md --request examples/railiance-platform/check_request_deny_unknown.json