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

Unified Diff: service/user/interface.go

Issue 1493183003: Fix User API (CurrentOAuth) (Closed) Base URL: https://github.com/luci/gae.git@master
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « impl/prod/user.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/user/interface.go
diff --git a/service/user/interface.go b/service/user/interface.go
index 2c2e27522e594deb771beb673e33be4d98df84c0..4339c820a1ad15185b539d03120ea2718c65a3d5 100644
--- a/service/user/interface.go
+++ b/service/user/interface.go
@@ -7,7 +7,7 @@ package user
// Interface provides access to the "appengine/users" API methods.
type Interface interface {
Current() *User
- CurrentOAuth() (*User, error)
+ CurrentOAuth(scopes ...string) (*User, error)
IsAdmin() bool
« no previous file with comments | « impl/prod/user.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698