Documentation
¶
Index ¶
- func EmailValidation(email string) bool
- func GetBaseConfigPath(path string) (string, error)
- func GetCreds(configPath string) (models.Credentials, error)
- func ListenForPlaidCallback() (string, error)
- func ReadPassword(prompt string) (string, error)
- func RemoveCreds(configPath string) error
- func StoreTokens(data models.Credentials, configPath string) error
- func ValidatePasswordHash(hash, password string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmailValidation ¶
Validates that a given string represents a valid email address
func GetBaseConfigPath ¶
func GetCreds ¶
func GetCreds(configPath string) (models.Credentials, error)
Get credentials from JSON file
func ListenForPlaidCallback ¶
Function opens a temporary local webserver, to wait for the Plaid public token received after Link flow completion
func ReadPassword ¶
Function will read a password without echoing the user input in terminal
func StoreTokens ¶
func StoreTokens(data models.Credentials, configPath string) error
Store auth tokens in a credentials file
func ValidatePasswordHash ¶
Validates a password against local database hash
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.