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