The Last Mile Fleet Solution provides the following two security models for use with the Driver SDK:
- Untrusted security model
- Allows updates to vehicle location, stop state, and task outcome.
- Trusted security model
- Includes the same functionality as the Untrusted model, and it also supports the creation of and updates to vehicles, tasks, and task ordering.
The following table breaks down the usage differences between the Untrusted and Trusted security models.
Usage Scenario | Untrusted | Trusted |
---|---|---|
Indicate that the vehicle is enroute to the next stop | ✓ | ✓ |
Indicate that the vehicle arrives at a stop | ✓ | ✓ |
Indicate that the vehicle completes a stop | ✓ | ✓ |
Close a task | ✓ | ✓ | Setting the task outcome | ✓ | ✓ |
Setting the task timestamp | ✓ | ✓ |
Lookup a vehicle | ✓ | ✓ |
Create a vehicle | ✓ | |
Create a task (pickup, delivery, unavailability, scheduled stop) | ✓ | |
Assign tasks to a vehicle | ✓ | |
Update task ordering | ✓ |