ValueGuard UC Demo

One page to prove the stack works.

This demo lets you register or log in a real UC user, inspect the current token-backed session, call shared operations endpoints, and exercise the existing admin use case APIs without needing a frontend build-out first.

User Auth in UC Shared Operations API Admin UC Client API Live JSON Responses

Session

Use this panel to create an account, log in, inspect the current token, and log out again.

Logged out No user loaded

Rights Snapshot

No rights loaded

Register

New users automatically receive the operations right.

Login

Token Snapshot

Stored only in this browser via localStorage for demo convenience.

No token stored yet.

Quick Checks

These buttons hit the most useful “is it alive?” endpoints in the current UC app. Protected endpoints now require both a token and the matching user right.

Operations endpoints require the operations right. New users should already have it.

Current API Demo

This area drives the APIs you already have today: user auth, shared operations, and admin use case actions such as viewing use cases and rotating credentials.

Operations Explorer

Shared operations routes are guarded by auth:sanctum plus the operations right.

Admin Use Case Tools

These endpoints now require the admin right as well as authentication.

Admin tools are locked until the logged-in user has the admin right.

User Rights Tools

This uses the existing admin endpoints for user rights management. You still need the admin right to use it successfully.

Response Console

Every action writes the raw JSON response here so you can see the API behavior without opening dev tools.

Pick an action on the left to begin.