mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-10-26 17:41:58 -06:00
22 lines
515 B
Python
22 lines
515 B
Python
"""Token management HTTP interface placeholders for the Engine."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from flask import Blueprint, Flask
|
|
|
|
|
|
blueprint = Blueprint("engine_tokens", __name__, url_prefix="/api/tokens")
|
|
|
|
|
|
def register(app: Flask) -> None:
|
|
"""Attach token management routes to *app*.
|
|
|
|
Implementation will be introduced as authentication services are migrated.
|
|
"""
|
|
|
|
if "engine_tokens" not in app.blueprints:
|
|
app.register_blueprint(blueprint)
|
|
|
|
|
|
__all__ = ["register", "blueprint"]
|