package
0.0.0-20250106091907-2def7cdbd4ab
Repository: https://github.com/ubuntu/authd-oidc-brokers.git
Documentation: pkg.go.dev

# Functions

CacheAuthInfo saves the token to the given path.
CleanupOldEncryptedToken removes the old encrypted token file at the given path and its parent directories if they are empty.
LoadAuthInfo reads the token from the given path.
LoadOldEncryptedAuthInfo reads the token in the old encrypted format from the given path and decrypts it using the given password.
NewAuthCachedInfo creates a new AuthCachedInfo.
UseOldEncryptedToken checks if the password file or the old encrypted token file exists.

# Structs

AuthCachedInfo represents the token that will be saved on disk for offline authentication.