2022-07-02 16:00:54 +02:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
|
|
|
class AuthMethod(str, Enum):
|
2022-12-16 21:39:18 +01:00
|
|
|
"""Enumerate authentication methods for monitors."""
|
|
|
|
|
2022-07-02 16:00:54 +02:00
|
|
|
NONE = ""
|
2022-12-16 21:39:18 +01:00
|
|
|
"""Authentication is disabled."""
|
|
|
|
|
2022-07-02 16:00:54 +02:00
|
|
|
HTTP_BASIC = "basic"
|
2022-12-16 21:39:18 +01:00
|
|
|
"""HTTP Basic Authentication."""
|
|
|
|
|
2022-07-02 16:00:54 +02:00
|
|
|
NTLM = "ntlm"
|
2022-12-16 21:39:18 +01:00
|
|
|
"""NTLM Authentication."""
|
2023-03-20 15:14:39 +01:00
|
|
|
|
|
|
|
MTLS = "mtls"
|
|
|
|
"""mTLS Authentication."""
|
2023-08-29 18:37:27 +02:00
|
|
|
|
|
|
|
OAUTH2_CC = "oauth2-cc"
|
|
|
|
"""OAuth2: Client Credentials"""
|