Documentation ¶
Index ¶
Constants ¶
View Source
const MinimumLegacyTokenLength = 2
Minimum token length for Legacy tokens imported from Automate 1. Technically, there may not be a minimum, but anything less than 2 does not seems reasonable.
View Source
const PRNCount = 20
use as a basis for tokens. Tokens will be base64-encoded.
Variables ¶
This section is empty.
Functions ¶
func GenerateNewToken ¶
func IsValidLegacyToken ¶
func IsValidToken ¶
func MinimumTokenLength ¶
func MinimumTokenLength() int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.