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.
Click to show internal directories.
Click to hide internal directories.