Documentation ¶
Overview ¶
A nonce is a number or string used only once. This is useful for generating a unique token for login pages to prevent duplicate submissions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nonces ¶
type Nonces struct {
// contains filtered or unexported fields
}
Keeps track of marked/used tokens
func (*Nonces) CheckThenMarkToken ¶
func (*Nonces) CheckToken ¶
Click to show internal directories.
Click to hide internal directories.