Documentation
¶
Overview ¶
Package sessiontest sets up session states for the tests of packages that build on package session.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Impersonate ¶
func Impersonate(t *testing.T, store *session.Store, request *http.Request, target *auth.Identity) *auth.Identity
Impersonate lets the identity of the session request carries impersonate target, as an application's route would, and returns the impersonating identity. The impersonator admits any active identities.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.