Documentation
¶
Index ¶
- func BrowserLoginProfileDir() string
- func ClearBrowserLoginProfile() error
- func ClearCookieToken() error
- func CookiePath() string
- func CookieStatus() map[string]any
- func DefaultBrowserProfileDir() string
- func NormalizeCookieToken(input string) (string, error)
- func RedactToken(token string) string
- type BrowserLoginResult
- type CookieToken
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BrowserLoginProfileDir ¶
func BrowserLoginProfileDir() string
func ClearBrowserLoginProfile ¶
func ClearBrowserLoginProfile() error
func ClearCookieToken ¶
func ClearCookieToken() error
func CookiePath ¶
func CookiePath() string
func CookieStatus ¶
func DefaultBrowserProfileDir ¶
func DefaultBrowserProfileDir() string
func NormalizeCookieToken ¶
func RedactToken ¶
Types ¶
type BrowserLoginResult ¶
type BrowserLoginResult struct {
Token string `json:"token"`
Domain string `json:"domain"`
Expires any `json:"expires,omitempty"`
}
type CookieToken ¶
func LoadCookieToken ¶
func LoadCookieToken() (*CookieToken, error)
func SaveCookieToken ¶
func SaveCookieToken(token string) (*CookieToken, error)
Click to show internal directories.
Click to hide internal directories.