Help us shape the future of Go! Take the 2026 Go Developer Survey

tenant

package
v2.52.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	// GetTenant returns the tenant metadata identified by an id.
	GetTenant(ctx context.Context, id string) (*tenant.Tenant, error)
	// GetUserByClaim returns the user identified by a specific value for a given claim.
	GetTenantByClaim(ctx context.Context, claim, value string) (*tenant.Tenant, error)
}

Manager is the interface to implement to manipulate users.

Directories

Path Synopsis
manager

Jump to

Keyboard shortcuts

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