2026-09-18 08:42:53 +00:00
|
|
|
"""The identity an external subject carries."""
|
|
|
|
|
|
2026-05-27 05:45:30 -07:00
|
|
|
from __future__ import annotations
|
|
|
|
|
|
2026-09-18 08:42:53 +00:00
|
|
|
from pydantic import BaseModel, ConfigDict
|
2026-06-25 22:48:21 -07:00
|
|
|
|
|
|
|
|
|
2026-05-27 05:45:30 -07:00
|
|
|
class ExternalIdentity(BaseModel):
|
|
|
|
|
model_config = ConfigDict(frozen=True)
|
|
|
|
|
|
|
|
|
|
email: str
|
|
|
|
|
issuer: str | None = None
|