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

"""Enumeration of user identities get item provider values."""

from __future__ import annotations

from enum import Enum
from typing import Literal, TypeAlias


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

    APPLE_OAUTH = "AppleOAuth"
    BITBUCKET_OAUTH = "BitbucketOAuth"
    DISCORD_OAUTH = "DiscordOAuth"
    GITHUB_OAUTH = "GithubOAuth"
    GIT_LAB_OAUTH = "GitLabOAuth"
    GOOGLE_OAUTH = "GoogleOAuth"
    INTUIT_OAUTH = "IntuitOAuth"
    LINKED_IN_OAUTH = "LinkedInOAuth"
    MICROSOFT_OAUTH = "MicrosoftOAuth"
    SALESFORCE_OAUTH = "SalesforceOAuth"
    SLACK_OAUTH = "SlackOAuth"
    VERCEL_MARKETPLACE_OAUTH = "VercelMarketplaceOAuth"
    VERCEL_OAUTH = "VercelOAuth"
    XERO_OAUTH = "XeroOAuth"

    @classmethod
    def _missing_(cls, value: object) -> UserIdentitiesGetItemProvider | None:
        if not isinstance(value, str):
            return None
        unknown = str.__new__(cls, value)
        unknown._name_ = value.upper()
        unknown._value_ = value
        return unknown


UserIdentitiesGetItemProviderLiteral: TypeAlias = Literal[
    "AppleOAuth",
    "BitbucketOAuth",
    "DiscordOAuth",
    "GithubOAuth",
    "GitLabOAuth",
    "GoogleOAuth",
    "IntuitOAuth",
    "LinkedInOAuth",
    "MicrosoftOAuth",
    "SalesforceOAuth",
    "SlackOAuth",
    "VercelMarketplaceOAuth",
    "VercelOAuth",
    "XeroOAuth",
]
