gsuite_admin

package module
v0.0.0-...-42c3d77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 26 Imported by: 0

README

gsuite-admin

GSuite Admin client

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) Before

func (this *Plugin) Before() []string

func (*Plugin) Init

func (this *Plugin) Init(options *plug.Options)

func (*Plugin) OnRegister

func (this *Plugin) OnRegister(options *plug.Options)

func (*Plugin) ProvideOptions

func (this *Plugin) ProvideOptions() []string

func (*Plugin) ProvidesOptions

func (this *Plugin) ProvidesOptions(options *plug.Options)

func (*Plugin) RequireOptions

func (this *Plugin) RequireOptions() []string

type TokenKey

type TokenKey struct{}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL