Documentation ¶
Index ¶
- func Check() bool
- func CheckToken(token string) (*authn.ClientTokenCheckResult, string)
- func Create(Email string) error
- func Delete(id string) error
- func FileExists(filename string) bool
- func Init() *authn.AuthN
- func InitVault() vault.Client
- func IsValidPassword(password string) bool
- func ListKeys(Email string) (*pangea.PangeaResponse[vault.ListResult], error)
- func ListSecrets(Email string) (*pangea.PangeaResponse[vault.ListResult], error)
- func Login()
- func LoginWithEmail(Email string, Password string) (string, string, error)
- func LoginWithPass(Email string, Password string) (*authn.UserLoginResult, string, error)
- func Logout() error
- func NewUser(Email string) (string, error)
- func PassReset(Id string, Password string) error
- func StoreKey(folder string) (string, error, int)
- func Update(id string, req string) error
- type APIError
- type TokenInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckToken ¶
func CheckToken(token string) (*authn.ClientTokenCheckResult, string)
Check Token Validity
func FileExists ¶
func IsValidPassword ¶
func ListKeys ¶
func ListKeys(Email string) (*pangea.PangeaResponse[vault.ListResult], error)
func ListSecrets ¶
func ListSecrets(Email string) (*pangea.PangeaResponse[vault.ListResult], error)
func LoginWithPass ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.