Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Chooser ¶
type Chooser interface {
Choice() string
}
Registrant that keeps a profile's choice of provider in a setting, such as the agent's provider of new sessions: the key of the setting, which a logout clears when it names the provider logged out of
type Registrant ¶
type Registrant interface {
SignIns() []credentials.SignIn
}
Ways a plugin adds to sign the accounts of its kinds in from the command line
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) Choices ¶
Keys of the settings the registrants keep a profile's choice of provider in, in the order they registered
func (*Registry) Register ¶
func (r *Registry) Register(registrant Registrant)
func (*Registry) SignIns ¶
func (r *Registry) SignIns() []credentials.SignIn
type SignIns ¶
type SignIns struct {
Registry
// contains filtered or unexported fields
}
Sign-ins plugins register, run by auth add