paths

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IDPBasePath = "/authn" // TODO change this

	// TODO: finish converting IDP path handling to use these
	CreateUser             = fmt.Sprintf("%s/users", IDPBasePath)
	GetUserByExternalAlias = fmt.Sprintf("%s/users", IDPBasePath)

	UserStoreBasePath = "/userstore"

	BaseConfigPath = fmt.Sprintf("%s/config", UserStoreBasePath)

	BaseConfigColumnsPath = fmt.Sprintf("%s/columns", BaseConfigPath)

	CreateColumnPath = BaseConfigColumnsPath
	DeleteColumnPath = singleConfigColumnPath
	GetColumnPath    = singleConfigColumnPath
	ListColumnsPath  = BaseConfigColumnsPath
	UpdateColumnPath = singleConfigColumnPath

	BaseConfigAccessorPath = fmt.Sprintf("%s/accessors", BaseConfigPath)

	CreateAccessorPath = BaseConfigAccessorPath
	DeleteAccessorPath = singleConfigAccessorPath
	GetAccessorPath    = singleConfigAccessorPath
	ListAccessorsPath  = BaseConfigAccessorPath
	UpdateAccessorPath = singleConfigAccessorPath

	BaseAPIPath = fmt.Sprintf("%s/api", UserStoreBasePath)

	BaseAccessorPath    = fmt.Sprintf("%s/accessors", BaseAPIPath)
	ExecuteAccessorPath = BaseAccessorPath
)

Path constants for the userstore

Functions

func StripBase

func StripBase(path string) string

StripBase makes the URLs functional for handler setup

Types

This section is empty.

Jump to

Keyboard shortcuts

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