# coding: utf-8

"""
    OidcVpAdapterBackend

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

    The version of the OpenAPI document: 1.0.0
    Contact: info@affinidi.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import json
import pprint
import re  # noqa: F401
from aenum import Enum, no_arg





class TokenEndpointAuthMethod(str, Enum):
    """
    Requested Client Authentication method for the Token Endpoint. The options are: `client_secret_post`: (default) Send client_id and client_secret as application/x-www-form-urlencoded in the HTTP body. `client_secret_basic`: Send client_id and client_secret as application/x-www-form-urlencoded encoded in the HTTP Authorization header. `none`: For public clients (native/mobile apps) which can not have secret. 
    """

    """
    allowed enum values
    """
    CLIENT_SECRET_BASIC = 'client_secret_basic'
    CLIENT_SECRET_POST = 'client_secret_post'
    NONE = 'none'

    @classmethod
    def from_json(cls, json_str: str) -> TokenEndpointAuthMethod:
        """Create an instance of TokenEndpointAuthMethod from a JSON string"""
        return TokenEndpointAuthMethod(json.loads(json_str))


