Documentation
¶
Overview ¶
Package scope carries a tenant's identity on a context for the three libraries Tether calls, which each read it from their own place.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func With ¶
With returns ctx carrying (appID, tenantID) in all three mechanisms: keysmith.WithTenant, warden.WithTenant and forge.WithScope with an org scope.
Keysmith reads forge's scope first and falls back to its own. Warden does the opposite and prefers its own explicit values. A context that holds only one of them gives the two libraries different answers whenever an outer layer set a scope, so Tether always sets all three. An existing forge scope on ctx is replaced.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.