common

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const HTML = `
<!DOCTYPE html>
<html>
<head>
	<script>
		window.close();
	</script>
</head>
<body></body>
</html>
`

Variables

View Source
var (
	// Path that the Tenant login pages will be listed under.
	AuthenticatePath = "/authentication/tenants"

	// Path that all providers will be listed under.
	ProviderPath = "/authentication/providers"
)
View Source
var TestCallbackConfig = CallbackConfig{
	Host: "http://local.moov.io:8202",
}

Functions

func ClosePopupResponse added in v0.2.2

func ClosePopupResponse(w http.ResponseWriter) error

Types

type CallbackConfig

type CallbackConfig struct {
	Host string
}

type Controller

type Controller interface {
	AppendRoutes(router *mux.Router)
}

type Provider

type Provider interface {
	AppendRoutes(router *mux.Router)
	Name() string
	Path() string
	Description() string
}

type ProviderConfig

type ProviderConfig struct {
	ProviderID  string
	Description string
	Service     string
}

Jump to

Keyboard shortcuts

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