Documentation ¶
Index ¶
Constants ¶
View Source
const (
// This will result in 160 bits of entropy (base32 encoded), as recommended by rfc4226.
MFASecretSize = 20
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mfa ¶
type Mfa struct { ConfigService configservice.ConfigService Store store.Store }
func New ¶
func New(configService configservice.ConfigService, store store.Store) Mfa
func (*Mfa) GenerateSecret ¶
Click to show internal directories.
Click to hide internal directories.