Documentation ¶
Index ¶
Constants ¶
View Source
const AzureAuthLocation = "AZURE_AUTH_LOCATION"
Variables ¶
This section is empty.
Functions ¶
func NewFileBasedCredential ¶
func NewFileBasedCredential() (azcore.TokenCredential, error)
Types ¶
type AuthConfig ¶
type AzureAuthCredentials ¶
type AzureAuthCredentials struct {
// contains filtered or unexported fields
}
func NewAzureAuthCredentials ¶
func NewAzureAuthCredentials() (*AzureAuthCredentials, error)
func (*AzureAuthCredentials) GetToken ¶
func (d *AzureAuthCredentials) GetToken(ctx context.Context, options policy.TokenRequestOptions) (azcore.AccessToken, error)
Click to show internal directories.
Click to hide internal directories.