Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeTotpStr ¶
DecodeTotpStr Decode TOTP string from base32
func EncodeTotpStr ¶
EncodeTotpStr Encode TOTP string to base32
Types ¶
type Data ¶
type Data struct {
DefaultQuality string `json:"quality"`
SpDc string `json:"sp_dc"`
AccessToken string `json:"accessToken"`
ClientID string `json:"clientId"`
ClientToken string `json:"clientToken"`
AccessTokenExpire int64 `json:"accessTokenExpire"`
AcceptLanguage []string `json:"accept-language"`
TOTP TOTP `json:"totp"`
}
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewConfigManager ¶
func NewConfigManager() *Manager
func (*Manager) GetDefault ¶
func (*Manager) Initialize ¶
func (*Manager) ReadAndGet ¶
func (*Manager) ReadConfig ¶
func (*Manager) SetConfigPath ¶
Click to show internal directories.
Click to hide internal directories.