//
pkg.gl
Category
github.com/rotationalio/ensign
pkg
utils
tokens
package
0.12.8
Repository:
https://github.com/rotationalio/ensign.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
2
Files
44 SLOC
#
Functions
NewConfirmation
NewConfirmation creates a new string token that includes a random secret and expires after 5 minutes.
#
Structs
Confirmation
Confirmation protects access to a resource by encoding an ID with a cryptographically secure secret and an expiration time.