Auth Controller
Authentication API endpoints implementing DPoP-bound access tokens and rotating refresh tokens. Endpoints: - POST /api/auth/signup — Optional DPoP proof; when present, the issued access token is bound via cnf.jkt. - POST /api/auth/login — Optional DPoP proof; when present, the issued access token is bound via cnf.jkt. - POST /api/auth/refresh — Requires valid DPoP proof and HttpOnly refresh cookie; rotates cookie and returns new access token. - GET /api/auth/logout — Revokes refresh token family, clears cookie, blacklists current access token. Headers: - Authorization: DPoP (for protected resources; not used on login/signup) - DPoP:
Constructors
Link copied to clipboard
@Autowired
Functions
Link copied to clipboard
Quick status check used by the UI.
Link copied to clipboard
Link copied to clipboard
Overload without DPoP or request argument for tests.
@PostMapping(value = "/signup" )
Sign up a new user and start a session.