Look up the device matching the given access token.
(ctx context.Context, token string)
| 36 | type DeviceDatabase interface { |
| 37 | // Look up the device matching the given access token. |
| 38 | GetDeviceByAccessToken(ctx context.Context, token string) (*api.Device, error) |
| 39 | } |
| 40 | |
| 41 | // AccountDatabase represents an account database. |