token

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureClient

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

AzureClient to get azure active directory token.

func NewClient

func NewClient(auth azure.Authorizer) (*AzureClient, error)

NewClient creates a new azure active directory token client from an authorizer.

func (*AzureClient) GetAzureActiveDirectoryToken

func (ac *AzureClient) GetAzureActiveDirectoryToken(ctx context.Context, resourceID string) (string, error)

GetAzureActiveDirectoryToken gets the token for authentication with azure active directory.

Jump to

Keyboard shortcuts

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