Versions in this module Expand all Collapse all v5 v5.100.1 Jun 2, 2020 v5.100.0 May 26, 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/mad-app/mattermost-server