Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AzureTokenProvider ¶
type AzureTokenProvider interface {
GetAccessToken(ctx context.Context, scopes []string) (string, error)
}
func NewAzureAccessTokenProvider ¶
func NewAzureAccessTokenProvider(settings *azsettings.AzureSettings, credentials azcredentials.AzureCredentials) (AzureTokenProvider, error)
type ConcurrentTokenCache ¶
type ConcurrentTokenCache interface {
GetAccessToken(ctx context.Context, tokenRetriever TokenRetriever, scopes []string) (string, error)
}
func NewConcurrentTokenCache ¶
func NewConcurrentTokenCache() ConcurrentTokenCache
type TokenRetriever ¶
Click to show internal directories.
Click to hide internal directories.