# This file is auto-generated by oagen. Do not edit.

"""Enumeration of radar standalone assess request auth method values."""

from __future__ import annotations

from enum import Enum
from typing import Optional
from typing import Literal, TypeAlias


class RadarStandaloneAssessRequestAuthMethod(str, Enum):
    """Known values for RadarStandaloneAssessRequestAuthMethod."""

    PASSWORD = "Password"
    PASSKEY = "Passkey"
    AUTHENTICATOR = "Authenticator"
    SMS_OTP = "SMS_OTP"
    EMAIL_OTP = "Email_OTP"
    SOCIAL = "Social"
    SSO = "SSO"
    OTHER = "Other"

    @classmethod
    def _missing_(
        cls, value: object
    ) -> Optional["RadarStandaloneAssessRequestAuthMethod"]:
        if not isinstance(value, str):
            return None
        unknown = str.__new__(cls, value)
        unknown._name_ = value.upper()
        unknown._value_ = value
        return unknown


RadarStandaloneAssessRequestAuthMethodLiteral: TypeAlias = Literal[
    "Password",
    "Passkey",
    "Authenticator",
    "SMS_OTP",
    "Email_OTP",
    "Social",
    "SSO",
    "Other",
]
