packer-cn/builder/azure/arm/authenticate.go

11 lines
266 B
Go

package arm
import (
"github.com/Azure/go-autorest/autorest/adal"
)
type oAuthTokenProvider interface {
getServicePrincipalToken() (*adal.ServicePrincipalToken, error)
getServicePrincipalTokenWithResource(resource string) (*adal.ServicePrincipalToken, error)
}