Documentation
¶
Index ¶
- func GetOrganizationNameFromHeader(ctx context.Context) (string, error)
- func GetRawToken(ctx context.Context) (string, error)
- func WithCurrentAPIToken(ctx context.Context, token *APIToken) context.Context
- func WithCurrentOrg(ctx context.Context, org *Org) context.Context
- func WithCurrentUser(ctx context.Context, user *User) context.Context
- type APIToken
- type Org
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOrganizationNameFromHeader ¶ added in v0.165.0
func GetRawToken ¶ added in v0.165.0
GetRawToken takes whatever Bearer token is in the request
func WithCurrentAPIToken ¶
Types ¶
type APIToken ¶
func CurrentAPIToken ¶
type Org ¶
func CurrentOrg ¶
Click to show internal directories.
Click to hide internal directories.