Documentation ¶
Index ¶
- Constants
- func DecryptVault(data string, password string) (string, error)
- func GetEntry(vault string)
- func LatestToken(login string, code string) (string, error)
- func LatestVault(login string, uki string) (map[string]interface{}, error)
- func PostData(uri string, data url.Values) (string, error)
- func RegisterUki(devicename, login, token, uki string) error
- type ExistResult
- type PasswordEntry
- type SendTokenResult
- type Vault
Constants ¶
View Source
const EXIST_URI = "https://ws1.dashlane.com/6/authentication/exists"
View Source
const LATEST_URI = "https://ws1.dashlane.com/12/backup/latest"
View Source
const REGISTER_URI = "https://ws1.dashlane.com/6/authentication/registeruki"
View Source
const SENDTOKEN_URI = "https://ws1.dashlane.com/6/authentication/sendtoken"
Variables ¶
This section is empty.
Functions ¶
func DecryptVault ¶
DecryptVault decrypts the given vault with the given password
func RegisterUki ¶
Types ¶
type ExistResult ¶
type ExistResult int
const ( EXIST_YES ExistResult = iota EXIST_YES_OTP_NEWDEVICE EXIST_NO EXIST_ERROR )
func Exist ¶
func Exist(login string) (ExistResult, error)
type PasswordEntry ¶
type SendTokenResult ¶
type SendTokenResult int
const ( UKI_SUCCESS SendTokenResult = iota UKI_OTP_NEEDED UKI_ERROR )
func SendToken ¶
func SendToken(login string) (SendTokenResult, error)
type Vault ¶
type Vault struct {
Passwords []PasswordEntry `xml:"KWAuthentifiant>KWDataItem"`
}
func ParseVault ¶
Click to show internal directories.
Click to hide internal directories.