Documentation ¶
Index ¶
Constants ¶
View Source
const ( DIGIT_SIZE int32 = 6 SECRET_SIZE int32 = 10 )
View Source
const (
TOTP_PERIOD int64 = 30
)
Variables ¶
View Source
var B32NoPadding *base32.Encoding = base32.StdEncoding.WithPadding(base32.NoPadding)
Functions ¶
func EncodeQuery ¶
Types ¶
type SourceType ¶
type SourceType string
const ( TOTP SourceType = "totp" HOTP SourceType = "hotp" )
Click to show internal directories.
Click to hide internal directories.