cache

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 17 Imported by: 0

README

Azure Identity Cache Module for Go

This module implements a cross-platform persistent token cache for azidentity credentials. See that module's examples for sample code showing how to configure persistent caching for a credential.

Provide Feedback

If you encounter bugs or have suggestions, please open an issue.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Impressions

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts *Options) (azidentity.Cache, error)

New constructs persistent token caches. See the token caching guide for details about the storage implementation.

Types

type Options

type Options struct {
	// Name distinguishes caches. Set this to isolate data from other applications.
	Name string
}

Options for persistent token caches.

Directories

Path Synopsis
internal
jwe

Jump to

Keyboard shortcuts

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