uptime-kuma-api/uptime_kuma_api/auth_method.py

20 lines
392 B
Python

from enum import Enum
class AuthMethod(str, Enum):
"""Enumerate authentication methods for monitors."""
NONE = ""
"""Authentication is disabled."""
HTTP_BASIC = "basic"
"""HTTP Basic Authentication."""
NTLM = "ntlm"
"""NTLM Authentication."""
MTLS = "mtls"
"""mTLS Authentication."""
OAUTH2_CC = "oauth2-cc"
"""OAuth2: Client Credentials"""