ObjectTokenStore persists configuration and authentication metadata using an S3-compatible object storage backend. Files are mirrored to a local workspace so existing file-based flows continue to operate.
| 43 | // ObjectTokenStore persists configuration and authentication metadata using an S3-compatible object storage backend. |
| 44 | // Files are mirrored to a local workspace so existing file-based flows continue to operate. |
| 45 | type ObjectTokenStore struct { |
| 46 | client *minio.Client |
| 47 | cfg ObjectStoreConfig |
| 48 | spoolRoot string |
| 49 | configPath string |
| 50 | authDir string |
| 51 | mu sync.Mutex |
| 52 | } |
| 53 | |
| 54 | // NewObjectTokenStore initializes an object storage backed token store. |
| 55 | func NewObjectTokenStore(cfg ObjectStoreConfig) (*ObjectTokenStore, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected