auth

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package auth defines storage-independent authentication failures.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrCredentialNotFound identifies the corresponding authentication-source failure.
	ErrCredentialNotFound = errors.New("credential not found")
	// ErrCredentialStoreLocked identifies the corresponding authentication-source failure.
	ErrCredentialStoreLocked = errors.New("credential store is locked")
	// ErrCredentialStoreUnavailable identifies the corresponding authentication-source failure.
	ErrCredentialStoreUnavailable = errors.New("credential store is unavailable")
	// ErrCredentialAccessDenied identifies the corresponding authentication-source failure.
	ErrCredentialAccessDenied = errors.New("credential access denied")
	// ErrConfigConflict identifies the corresponding authentication-source failure.
	ErrConfigConflict = errors.New("configuration conflict")
	// ErrInvalidRef identifies the corresponding authentication-source failure.
	ErrInvalidRef = errors.New("invalid credential reference")
	// ErrStoreNotFound identifies the corresponding authentication-source failure.
	ErrStoreNotFound = errors.New("credential store not found")

	// ErrProxyCycle identifies a cycle in a resolved jump-host plan.
	ErrProxyCycle = errors.New("proxy jump cycle detected")
)

Functions

func RecoverableRead

func RecoverableRead(err error) bool

RecoverableRead classifies source availability failures for an explicitly interactive caller. Invalid references, conflicts and cancellation never authorize temporary credential input, even when joined to an availability error. This grants no permission to persist a replacement secret.

Types

This section is empty.

Jump to

Keyboard shortcuts

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