Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateToken ¶
func CreateToken(store pkgsession.SessionStore, signingKey []byte, hostname string, ttl time.Duration, backURL, backText string, ownershipMode pkgsession.OwnershipVerificationMode, verifyOwnershipURL, verifyOwnershipText string, ) (string, time.Time, error)
CreateToken stores a new session and returns an HMAC-signed token containing only the session ID.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.