Versions in this module Expand all Collapse all v5 v5.22.0 Apr 4, 2020 Changes in this version + const MFA_SECRET_SIZE + type Mfa struct + ConfigService configservice.ConfigService + Store store.Store + func New(configService configservice.ConfigService, store store.Store) Mfa + func (m *Mfa) Activate(user *model.User, token string) *model.AppError + func (m *Mfa) Deactivate(userId string) *model.AppError + func (m *Mfa) GenerateSecret(user *model.User) (string, []byte, *model.AppError) + func (m *Mfa) ValidateToken(secret, token string) (bool, *model.AppError) Other modules containing this package github.com/vnforks/kid