Versions in this module Expand all Collapse all v1 v1.0.0 Sep 29, 2016 Changes in this version + func IsAdmin(c context.Context) bool + func LoginURL(c context.Context, dest string) (string, error) + func LoginURLFederated(c context.Context, dest, identity string) (string, error) + func LogoutURL(c context.Context, dest string) (string, error) + func OAuthConsumerKey(c context.Context) (string, error) + type User struct + Admin bool + AuthDomain string + ClientID string + Email string + FederatedIdentity string + FederatedProvider string + ID string + func Current(c context.Context) *User + func CurrentOAuth(c context.Context, scopes ...string) (*User, error) + func (u *User) String() string