From cbd442be51449ddae8ab5ee8c29c69c6151cda16 Mon Sep 17 00:00:00 2001 From: Avishalom Shalit Date: Fri, 19 Jan 2018 13:55:39 -0500 Subject: [PATCH] clean unused types --- auth/user_mgt.go | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/auth/user_mgt.go b/auth/user_mgt.go index 9d0098dc..eb92d9a5 100644 --- a/auth/user_mgt.go +++ b/auth/user_mgt.go @@ -498,37 +498,6 @@ func (u *UserToUpdate) preparePayload(user *identitytoolkit.IdentitytoolkitRelyi // End of validators -// Response Types ------------------------------- - -type getUserResponse struct { - RequestType string - Users []responseUserRecord -} - -type responseUserRecord struct { - UID string - DisplayName string - Email string - PhoneNumber string - PhotoURL string - CreationTimestamp int64 - LastLogInTimestamp int64 - ProviderID string - CustomClaims string - Disabled bool - EmailVerified bool - ProviderUserInfo []*UserInfo - PasswordHash string - PasswordSalt string - ValidSince int64 -} - -type listUsersResponse struct { - RequestType string - Users []responseUserRecord - NextPage string -} - // Helper functions for retrieval and HTTP calls. func (c *Client) createUser(ctx context.Context, user *UserToCreate) (string, error) {