{"modulePath":"github.com/2lambda123/openshift-origin","version":"v4.1.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package session\n\n## Types\n\n```go\ntype SessionAuthenticator interface {\n\tauthenticator.Request\n\thandlers.AuthenticationSuccessHandler\n\tSessionInvalidator\n}\n```\n\n```go\nfunc NewAuthenticator(store Store, maxAge time.Duration) SessionAuthenticator\n```\n\n```go\nfunc NewBootstrapAuthenticator(delegate SessionAuthenticator, getter bootstrap.BootstrapUserDataGetter, store Store) SessionAuthenticator\n```\n\n```go\ntype SessionInvalidator interface {\n\tInvalidateAuthentication(w http.ResponseWriter, user user.Info) error\n}\n```\n\n```go\ntype Store interface {\n\t// Get and decode the Values associated with the given request\n\tGet(r *http.Request) Values\n\t// Put encodes and writes the given Values to the response\n\tPut(w http.ResponseWriter, v Values) error\n}\n```\nStore abstracts HTTP session storage of Values\n\n```go\nfunc NewStore(name string, secure bool, secrets ...[]byte) Store\n```\n\n```go\ntype Values map[interface{}]interface{}\n```\n\n```go\nfunc (v Values) GetInt64(key string) (int64, bool)\n```\n\n```go\nfunc (v Values) GetString(key string) (string, bool)\n```\n\n","path":"github.com/2lambda123/openshift-origin/pkg/oauthserver/server/session","name":"session","synopsis":"","isRedistributable":true}
