Documentation ¶
Index ¶
Constants ¶
View Source
const (
MsgSetupSuccessful msg = "setup_successful"
)
Variables ¶
View Source
var (
DomainKey = key.Sub("domain")
)
Functions ¶
func DomainTokenKey ¶
func DomainTokenKey(domain string) siteconf.PrivateName
Types ¶
type Plugin ¶
type Plugin struct { plug.EventDispatcher db.DBNames admin_plugin.AdminNames RouterKey, RouterUID, ConfigKey, AssetFSKey, AuthKey, SitesRegisterKey, GSuiteAdminAppKey string // contains filtered or unexported fields }
func (*Plugin) OnRegister ¶
func (*Plugin) ProvideOptions ¶
func (*Plugin) ProvidesOptions ¶
func (*Plugin) RequireOptions ¶
type TokenStorage ¶
type TokenStorage struct {
// contains filtered or unexported fields
}
func (TokenStorage) Get ¶
func (this TokenStorage) Get(r *http.Request, domain string) (token *gsuite_admin_app.Token, err error)
func (TokenStorage) Put ¶
func (this TokenStorage) Put(r *http.Request, token *gsuite_admin_app.Token) (err error)
Click to show internal directories.
Click to hide internal directories.