"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
import dataclasses
from .schemeformanceoauth import SchemeFormanceOAuth
from typing import Optional


@dataclasses.dataclass
class Security:
    bearer_auth: Optional[str] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'http', 'sub_type': 'bearer', 'field_name': 'Authorization' }})
    formance_o_auth: Optional[SchemeFormanceOAuth] = dataclasses.field(default=None, metadata={'security': { 'scheme': True, 'type': 'oauth2', 'sub_type': 'client_credentials' }})
    

