Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: Add a GetOIDCTokens() method
This adds a helper method to fetch the OIDC tokens (if any) from the OIDC client used to authenticate to an Incus server. In the vast majority of cases, the tokens are automatically saved/restored from the remote's configuration. However, when operating without a configuration file, such as a standalone tool, there's no way to save the tokens for later use. This results in an authentication prompt every time a new connection is established rather than being able to re-use a previously acquired token. Signed-off-by: Mathias Gibbens <mathias.gibbens@futurfusion.io>
- Loading branch information