Chromium Code Reviews| Index: appengine/gaeauth/server/prpc.go |
| diff --git a/appengine/gaeauth/server/prpc.go b/appengine/gaeauth/server/prpc.go |
| index 33529e8885be51d14e919e9ac7a1e4bb92010682..16a27996bd53da4b200117e9ee1a162bf1e1b45d 100644 |
| --- a/appengine/gaeauth/server/prpc.go |
| +++ b/appengine/gaeauth/server/prpc.go |
| @@ -10,7 +10,9 @@ import ( |
| ) |
| func init() { |
| - prpc.RegisterDefaultAuth(auth.Authenticator{ |
| - &OAuth2Method{Scopes: []string{EmailScope}}, |
| + prpc.RegisterDefaultAuth(&auth.Authenticator{ |
| + Methods: []auth.Method{ |
|
Vadim Sh.
2017/04/18 23:46:24
This is more verbose, but I think it looks less ma
|
| + &OAuth2Method{Scopes: []string{EmailScope}}, |
| + }, |
| }) |
| } |