{"modulePath":"github.1git.de/openshift/origin","version":"v3.8.0+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package paramtoken\n\n## Types\n\n```go\ntype Authenticator struct {\n\t// contains filtered or unexported fields\n}\n```\nAuthenticator provides a way to authenticate tokens provided as a parameter This only exists to allow websocket connections to use an API token, since they cannot set an Authorize header For this authenticator to work, tokens will be part of the request URL, and are more likely to be logged or otherwise exposed. Every effort should be made to filter tokens from being logged when using this authenticator.\n\n```go\nfunc New(param string, auth authenticator.Token, removeParam bool) *Authenticator\n```\n\n```go\nfunc (a *Authenticator) AuthenticateRequest(req *http.Request) (user.Info, bool, error)\n```\n\n","path":"github.1git.de/openshift/origin/pkg/auth/authenticator/request/paramtoken","name":"paramtoken","synopsis":"","isRedistributable":true}
