Documentation ¶
Index ¶
Constants ¶
View Source
const TokenKey = "token"
Variables ¶
This section is empty.
Functions ¶
func CreateAccessToken ¶
func CreateAccessToken(cltx *cli.Context) error
func FixedLenRandomInt ¶
FixedLenRandomInt generates a random string of fixed length using digits 1-9. It takes an integer length as input and returns the generated string.
func FixedLenRandomString ¶
FixedLenRandomString generates a random string of fixed length.
func ImportUser ¶
func ImportUser(cltx *cli.Context) error
ImportUser is a function that imports user data from a CSV file and creates users in a logto system. It takes a cli.Context parameter and returns an error if an error occurs during execution.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.