Skip to content

O Auth Token Endpoint Auth Method

immichpy.client.generated.models.o_auth_token_endpoint_auth_method.OAuthTokenEndpointAuthMethod

Bases: str, Enum

Token endpoint auth method

from_json classmethod

from_json(json_str: str) -> Self

Create an instance of OAuthTokenEndpointAuthMethod from a JSON string

Source code in immichpy/client/generated/models/o_auth_token_endpoint_auth_method.py
31
32
33
34
@classmethod
def from_json(cls, json_str: str) -> Self:
    """Create an instance of OAuthTokenEndpointAuthMethod from a JSON string"""
    return cls(json.loads(json_str))