terraform/vendor/github.com/hashicorp/go-azure-helpers/authentication/auth_method.go

20 lines
365 B
Go

package authentication
import (
"github.com/Azure/go-autorest/autorest"
)
type authMethod interface {
build(b Builder) (authMethod, error)
isApplicable(b Builder) bool
getAuthorizationToken(sender autorest.Sender, oauthConfig *OAuthConfig, endpoint string) (autorest.Authorizer, error)
name() string
populateConfig(c *Config) error
validate() error
}