auth

Paddy 2015-01-14 Parent:c03b5eb3179e Child:3ec7134fa211

115:fa8ee6a4507c Go to Latest

auth/session.go

Turn AddEndpoint into AddEndpoints. Because one is a special case of many, it makes sense to be able to add multiple endpoints in a single call to the database. So we've converted the AddEndpoint method into an AddEndpoints method and updated our tests appropriately. We also filled in the errors when creating a client through the API, and moved things around to optimize for the maximum number of errors returned in a single call.

History