Documentation
¶
Index ¶
- func GetImpersonatingGroups(request *nethttp.Request, ignoreImpersonationGroups []string, ...) []string
- func GetImpersonatingUser(request *nethttp.Request) string
- func ResolveUserAndGroups(request *h.Request, authTypes []AuthType, usernameClaimField string, ...) (*h.Request, string, []string, error)
- func SanitizeImpersonationHeaders(request *nethttp.Request)
- type AuthType
- type ErrUnauthorized
- type Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetImpersonatingGroups ¶
func GetImpersonatingUser ¶
func ResolveUserAndGroups ¶ added in v0.13.0
Types ¶
type ErrUnauthorized ¶
type ErrUnauthorized struct {
// contains filtered or unexported fields
}
func NewErrUnauthorized ¶
func NewErrUnauthorized(message string) *ErrUnauthorized
func (*ErrUnauthorized) Error ¶
func (e *ErrUnauthorized) Error() string
Click to show internal directories.
Click to hide internal directories.