from typing import Optional
from datetime import datetime

from .....core.action import Action
from .....core.resource import Resource


class AuthorizationRequest:
  strict: Optional[str]

  subjects: Optional[str]
  action: Optional[Action | str]
  object: Optional[Resource | str]

  tz: Optional[str]
  ip: Optional[str]
  time: Optional[datetime]
