feat(pos): add PIN auth with JWT, rate limiting, and permission middleware

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-31 01:30:26 +00:00
parent c82a29279e
commit d58105203d
3 changed files with 240 additions and 0 deletions

View File

@@ -3,6 +3,11 @@ from flask import Flask
def create_app():
app = Flask(__name__)
# Register blueprints
from blueprints.auth_bp import auth_bp
app.register_blueprint(auth_bp)
# Health check
@app.route('/pos/health')
def health():
return {'status': 'ok'}