Documentation
¶
Index ¶
Constants ¶
View Source
const ( DeviceCodeLogin = "devicecode" ServicePrincipalLogin = "spn" ROPCLogin = "ropc" MSILogin = "msi" )
Variables ¶
This section is empty.
Functions ¶
func GetSupportedLogins ¶
func GetSupportedLogins() string
Types ¶
type ExecCredentialPlugin ¶
type ExecCredentialPlugin interface {
Do() error
}
func New ¶
func New(o *Options) (ExecCredentialPlugin, error)
type ExecCredentialWriter ¶
type Options ¶
type Options struct {
LoginMethod string
ClientID string
ClientSecret string
Username string
Password string
ServerID string
TenantID string
Environment string
IsLegacy bool
TokenCacheFile string
}
func NewOptions ¶
func NewOptions() Options
func (*Options) UpdateFromEnv ¶
func (o *Options) UpdateFromEnv()
type TokenCache ¶
type TokenProvider ¶
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mock_token is a generated GoMock package.
|
Package mock_token is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.