Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TenantUser ¶
func RequestUser ¶
func RequestUser(req *http.Request, apiKeyAuthenticator authenticator.Password) (*TenantUser, bool)
RequestUser according to the basic auth credentials carried in the http request, use the password as an APIKey to call the authentication method, and return the tenantUser.
func (*TenantUser) TenantID ¶
func (u *TenantUser) TenantID() string
Click to show internal directories.
Click to hide internal directories.