auth

package
v0.0.0-...-d98bda9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAPIKey

func DeleteAPIKey() error

DeleteAPIKey removes the stored API key from the system keyring. Returns nil even if the key does not exist.

func GetAPIKey

func GetAPIKey() (string, error)

GetAPIKey retrieves the stored API key from the system keyring. Returns keyring.ErrNotFound if the key does not exist.

func HasAPIKey

func HasAPIKey() bool

HasAPIKey checks if an API key exists in the system keyring.

func StoreAPIKey

func StoreAPIKey(key string) error

StoreAPIKey validates and stores the API key in the system keyring.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL