Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetSessionCookieFromAuth ¶
func SetSessionCookieFromAuth( c forge.Context, authInst core.Authsome, token string, expiresAt time.Time, ) error
SetSessionCookieFromAuth is a helper that retrieves cookie configuration from the auth instance and sets the session cookie if enabled. This is a convenience method for handlers and plugins.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.