azhttpclient

package
v2.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 14 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAzureAuthentication

func AddAzureAuthentication(clientOpts *sdkhttpclient.Options, authOpts *AuthOptions, credentials azcredentials.AzureCredentials)

func AzureMiddleware

func AzureMiddleware(authOpts *AuthOptions, credentials azcredentials.AzureCredentials) httpclient.Middleware

Types

type AuthOptions

type AuthOptions struct {
	// contains filtered or unexported fields
}

func NewAuthOptions

func NewAuthOptions(settings *azsettings.AzureSettings) *AuthOptions

func (*AuthOptions) AddRateLimitSession added in v2.0.2

func (opts *AuthOptions) AddRateLimitSession(enable bool)

func (*AuthOptions) AddTokenProvider

func (opts *AuthOptions) AddTokenProvider(authType string, factory AzureTokenProviderFactory)

func (*AuthOptions) AllowUserIdentity

func (opts *AuthOptions) AllowUserIdentity()

func (*AuthOptions) AllowedEndpoints

func (opts *AuthOptions) AllowedEndpoints(endpoints []string) error

func (*AuthOptions) Scopes

func (opts *AuthOptions) Scopes(scopes []string)

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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