identity

package
v0.0.0-...-4263410 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultOrgId to be used in the tests.
	DefaultOrgId = "1"
	// DefaultAccountNumber to be used in the tests.
	DefaultAccountNumber = "1"
)

Variables

This section is empty.

Functions

func AddIdentityHeader

func AddIdentityHeader(t *testing.T, req *http.Request) *http.Request

func WithCustomIdentity

func WithCustomIdentity(t *testing.T, ctx context.Context, orgId string, accountNumber *string) context.Context

func WithIdentity

func WithIdentity(t *testing.T, ctx context.Context) context.Context

func WithTenant

func WithTenant(t *testing.T, ctx context.Context) context.Context

func WithTenantOrgId

func WithTenantOrgId(t *testing.T, ctx context.Context, OrgId string) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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