uptime-kuma-api/uptime_kuma_api/auth_method.py

21 lines
392 B
Python
Raw Permalink 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."""
MTLS = "mtls"
"""mTLS Authentication."""
OAUTH2_CC = "oauth2-cc"
"""OAuth2: Client Credentials"""