Versions in this module Expand all Collapse all v1 v1.0.0 Aug 28, 2026 Changes in this version + var ErrNotFound = errors.New("credstore: not found") + type Backend struct + DisplayName string + Name string + func AvailableBackends() []Backend + type Credentials struct + AccessToken string + AccessTokenExpiry time.Time + RefreshToken string + func (c Credentials) ValidAccessToken() bool + type DeviceState struct + Audience string + Backend string + Environment string + IDPDomain string + Insecure bool + type Options struct + Backend string + Insecure bool + StateDir string + type Store interface + DeleteCredentials func() error + DeleteDeviceState func() error + LoadCredentials func() (Credentials, error) + LoadDeviceState func() (DeviceState, error) + SaveCredentials func(creds Credentials) error + SaveDeviceState func(state DeviceState) error + func New(opts Options) (Store, error)