| Index: service/user/interface.go
|
| diff --git a/service/user/interface.go b/service/user/interface.go
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2c2e27522e594deb771beb673e33be4d98df84c0
|
| --- /dev/null
|
| +++ b/service/user/interface.go
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +package user
|
| +
|
| +// Interface provides access to the "appengine/users" API methods.
|
| +type Interface interface {
|
| + Current() *User
|
| + CurrentOAuth() (*User, error)
|
| +
|
| + IsAdmin() bool
|
| +
|
| + LoginURL(dest string) (string, error)
|
| + LoginURLFederated(dest, identity string) (string, error)
|
| + LogoutURL(dest string) (string, error)
|
| +
|
| + OAuthConsumerKey() (string, error)
|
| +}
|
|
|