-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathraw_removepassword.go
30 lines (26 loc) · 1.17 KB
/
raw_removepassword.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package electron
import "github.com/gopherjs/gopherjs/js"
// RemovePassword a Structure
type RemovePassword struct {
*js.Object
// .
Type string `js:"type"`
// When provided, the authentication info related to the origin will only be removed otherwise the entire cache will be cleared.
Origin string `js:"origin"`
// Scheme of the authentication. Can be , , , . Must be provided if removing by .
Scheme RemovePasswordRemovePasswordScheme `js:"scheme"`
// Realm of the authentication. Must be provided if removing by .
Realm string `js:"realm"`
// Credentials of the authentication. Must be provided if removing by .
Username string `js:"username"`
// Credentials of the authentication. Must be provided if removing by .
Password string `js:"password"`
}
type RemovePasswordRemovePasswordScheme string
// consts
const (
RemovePasswordRemovePasswordSchemeBasic RemovePasswordRemovePasswordScheme = "basic"
RemovePasswordRemovePasswordSchemeDigest RemovePasswordRemovePasswordScheme = "digest"
RemovePasswordRemovePasswordSchemeNtlm RemovePasswordRemovePasswordScheme = "ntlm"
RemovePasswordRemovePasswordSchemeNegotiate RemovePasswordRemovePasswordScheme = "negotiate"
)