Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForContext ¶
func ForContext(ctx context.Context) *pkg.BaseUserInfo
ForContext finds the user from the context. REQUIRES Middleware to have run.
func NewAuthMiddleware ¶
Middleware decodes the share session cookie and packs the session into context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.