Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var B32NoPadding = base32.StdEncoding.WithPadding(base32.NoPadding)
B32NoPadding is a base32 encoder without padding, shared by hotp and totp.
Functions ¶
func EncodeQuery ¶
EncodeQuery encodes url.Values into a query string, using %20 instead of + to encode spaces. This is necessary to correctly render spaces in some authenticator apps, like Google Authenticator.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.