Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Side by Side Diff: service/user/user.go

Issue 1500433002: Add User service. (Closed) Base URL: https://github.com/luci/gae.git@inner_ctx
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« impl/dummy/dummy.go ('K') | « service/user/interface.go ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package user
6
7 import "google.golang.org/appengine/user"
8
9 // User is a mimic of https://godoc.org/google.golang.org/appengine/user#User
10 //
11 // It's provided here for convenience, and is compile-time checked to be
12 // identical.
13 type User struct {
14 Email string
15 AuthDomain string
16 Admin bool
17 ID string
18 ClientID string
19 FederatedIdentity string
20 FederatedProvider string
21 }
22
23 var _ User = (User)(user.User{})
Vadim Sh. 2015/12/03 00:55:56 o_O didn't know it works that way
iannucci 2015/12/03 01:00:24 All public fields with matching names and types ==
OLDNEW
« impl/dummy/dummy.go ('K') | « service/user/interface.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698