← Về thư mục
openai4s/host/credentials.py
- _CredentialLease · class · L12-L17 — class _CredentialLease
- CredentialService · class · L20-L113 — class CredentialService
- init · method · L28-L32 — def init(self, *, clock=time.monotonic) -> None
- set · method · L34-L45 — def set(self, spec: dict) -> dict
- issue · method · L47-L79 — def issue( self, name: str, *, purpose: str = "host credential access", binding: str = "", ttl_seconds: float = 30.0, ) -> dict
- redeem · method · L81-L93 — def redeem(self, token: str, *, binding: str = "") -> dict
- get · method · L95-L100 — def get(self, name: str, *, binding: str = "") -> dict
- list · method · L102-L105 — def list(self) -> list[str]
- _purge_expired_locked · method · L107-L113 — def _purge_expired_locked(self) -> None