Expand description
Types supporting authenticated Resumable Upload Session tokens.
Storage backends represent their opaque upload state as a BackendToken. At the service
boundary, Session combines that state with service-specific fields, and
crate::encryption::Cipher protects the serialized token before it is returned to the server.
After authentication, the service passes the structured Session to the backend.
Storage backend | objectstore-service | objectstore-server |
BackendToken <------->| Session --------------- Cipher ------------->| EncryptedSessionToken |
opaque backend state | { ObjectId, upload_length, BackendToken } | b64url encoded opaque envelope |Structs§
- Encrypted
Session Token - Identifier for an in-progress resumable upload session.
- Session
- Identifies a resumable upload and carries its declared length.
Enums§
- Upload
Offset - The value of the
HEADER_UPLOAD_OFFSETrequest header. - Upload
Progress - How far a resumable upload has progressed.
Type Aliases§
- Backend
Token - Opaque session state encoded and decoded by a storage backend.