ui

package
v0.30.14 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizersHandler

func AuthorizersHandler(confServices *ConsoleCfg) func(w http.ResponseWriter, r *http.Request)

func ConfigHandler

func ConfigHandler(confServices *ConsoleCfg) func(w http.ResponseWriter, r *http.Request)

func UIHandler

func UIHandler(consoleFS http.FileSystem) http.Handler

Types

type ConsoleCfg added in v0.30.12

type ConsoleCfg struct {
	AsertoDirectoryURL       string  `json:"asertoDirectoryUrl"`
	AuthorizerServiceURL     string  `json:"authorizerServiceUrl"`
	AuthorizerAPIKey         string  `json:"authorizerApiKey"`
	DirectoryAPIKey          string  `json:"directoryApiKey"`
	DirectoryTenantID        string  `json:"directoryTenantId"`
	AsertoDirectoryReaderURL *string `json:"asertoDirectoryReaderUrl,omitempty"`
	AsertoDirectoryWriterURL *string `json:"asertoDirectoryWriterUrl,omitempty"`
	AsertoDirectoryModelURL  *string `json:"asertoDirectoryModelUrl,omitempty"`
}

Jump to

Keyboard shortcuts

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