Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSAMLProvider ¶
NewSAMLProvider creates a new AWS SAML provider.
Types ¶
type CacheStorage ¶ added in v1.197.0
type CacheStorage interface {
// ReadFile reads the cache file at the given path.
ReadFile(path string) ([]byte, error)
// WriteFile writes data to the cache file at the given path.
WriteFile(path string, data []byte, perm os.FileMode) error
// Remove deletes the cache file at the given path.
Remove(path string) error
// MkdirAll creates directory path with permissions.
MkdirAll(path string, perm os.FileMode) error
// GetXDGCacheDir returns the XDG cache directory for the given subdirectory.
GetXDGCacheDir(subdir string, perm os.FileMode) (string, error)
}
CacheStorage defines interface for token cache storage operations. This interface enables testing without filesystem dependencies.
Click to show internal directories.
Click to hide internal directories.