Versions in this module Expand all Collapse all v0 v0.1.0 Apr 14, 2017 Changes in this version + func AdminFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain) + func CanImpersonate(vaultToken string) bool + func CheckAdminPermission(vaultToken string, vc *vault.Config) + func CheckImpersonatePermission(vaultToken string, vc *vault.Config) + func GetTokenFromContext(r *restful.Request) string + func GetTokenFromRequest(r *restful.Request) string + func ImpersonateFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain) + func IsAdmin(vaultToken string) bool + func LoginFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain) + func ParseBearerAuth(auth string) (string, bool)