Documentation ¶
Overview ¶
Package usertok creates tokens which authenticate and identify users in a stateless way
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractUser ¶
ExtractUser takes in a userTok as returned by New() and extracts the user identifier that was passed into New() and returns it. Returns empty string if the user token can't be extracted due to an invalid token
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.