multitenancy

package
v0.18.6 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: Apache-2.0, BSD-3-Clause, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractTenantFromTokenWrapperFunc added in v0.7.0

func ExtractTenantFromTokenWrapperFunc(tenantTokenClaim string) func(request *web.Request) (string, error)

ExtractTenantFromTokenWrapperFunc returns function which extracts tenant from JWT token. The specified tenantTokenClaim represents the key in the token that contains the tenant identifier value

Types

type Settings added in v0.10.0

type Settings struct {
	LabelKey string `mapstructure:"label_key"`
}

func DefaultSettings added in v0.10.0

func DefaultSettings() *Settings

func (*Settings) Validate added in v0.10.0

func (s *Settings) Validate() error

Validate validates the httpclient settings

Jump to

Keyboard shortcuts

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