uptime-kuma-api/uptime_kuma_api/auth_method.py

15 lines
276 B
Python
Raw Normal View History

2022-07-02 16:00:54 +02:00
from enum import Enum
class AuthMethod(str, Enum):
"""Enumerate authentication methods for monitors."""
2022-07-02 16:00:54 +02:00
NONE = ""
"""Authentication is disabled."""
2022-07-02 16:00:54 +02:00
HTTP_BASIC = "basic"
"""HTTP Basic Authentication."""
2022-07-02 16:00:54 +02:00
NTLM = "ntlm"
"""NTLM Authentication."""