| // Copyright 2017 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| namespace fuchsia.modular; |
| |
| // See public/fidl/fuchsia.modular.auth/account/account.fidl for detailed |
| // documentation about these fields. |
| |
| enum IdentityProvider : byte { DEV, GOOGLE } |
| |
| table UserStorage { |
| id: string; |
| identity_provider: IdentityProvider; |
| display_name: string; |
| profile_url: string; |
| image_url: string; |
| profile_id: string; |
| } |
| |
| table UsersStorage { |
| users: [UserStorage]; |
| } |
| |
| root_type UsersStorage; |