gsuite_sso

package module
v0.0.0-...-326eb30 Latest Latest
Warning

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

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

README

gsuite-sso

Gsuite SAML SSO Identity Provider

Documentation

Index

Constants

View Source
const GSuiteAdminSettingsScope = "https://apps-apis.google.com/a/feeds/domain/"

See https://developers.google.com/admin-sdk/admin-settings/auth

Variables

This section is empty.

Functions

This section is empty.

Types

type GSuiteSsoIDP

type GSuiteSsoIDP struct {
	IDP                     *ect_samlidp.SamlIDP
	GSuiteMailAddressFinder gsuite.GSuiteMailAddressFinder
}

func New

func New(IDP *ect_samlidp.SamlIDP) *GSuiteSsoIDP

func (*GSuiteSsoIDP) AppScopeAppender

func (this *GSuiteSsoIDP) AppScopeAppender(app *gsuite_admin_app.App, scopes *gsuite_admin_app.Scopes, r *http.Request) (err error)

func (*GSuiteSsoIDP) AppSetupHandler

func (this *GSuiteSsoIDP) AppSetupHandler(app *gsuite_admin_app.App, token *gsuite_admin_app.Token, r *http.Request) (err error)

func (*GSuiteSsoIDP) ConfigureApp

func (this *GSuiteSsoIDP) ConfigureApp(app *gsuite_admin_app.App)

type Plugin

type Plugin struct {
	plug.EventDispatcher

	SamlIdpKey,
	GSuiteAdminAppKey,
	GSuiteSsoIdpKey string
}

func (*Plugin) ProvideOptions

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

func (*Plugin) ProvidesOptions

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

func (*Plugin) RequireOptions

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

Jump to

Keyboard shortcuts

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