mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-17 08:02:36 +00:00
15 lines
257 B
Python
15 lines
257 B
Python
|
#!/usr/bin/env python3
|
||
|
"""API authentication module"""
|
||
|
|
||
|
from flask import Blueprint
|
||
|
from flask_restful import Api
|
||
|
|
||
|
auth = Blueprint("auth", __name__, url_prefix="/auth")
|
||
|
api = Api(auth)
|
||
|
|
||
|
from . import (
|
||
|
new_device,
|
||
|
recovery_token,
|
||
|
app_tokens,
|
||
|
)
|