Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TokenReview ¶
func TokenReview(rawToken string, authProxyConfig *cfgModels.HTTPAuthProxy) (k8s_api_v1beta1.TokenReviewStatus, error)
TokenReview ...
func UserFromReviewStatus ¶
func UserFromReviewStatus(status k8s_api_v1beta1.TokenReviewStatus, adminGroups []string, adminUsernames []string) (*models.User, error)
UserFromReviewStatus transform a review status to a user model. Group entries will be populated if needed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.