Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasMinimumScopes ¶
func Login ¶
func Login(opts *LoginOptions) error
Types ¶
type GitCredentialFlow ¶
type GitCredentialFlow struct { Executable string // contains filtered or unexported fields }
func (*GitCredentialFlow) Prompt ¶
func (flow *GitCredentialFlow) Prompt(hostname string) error
func (*GitCredentialFlow) Scopes ¶
func (flow *GitCredentialFlow) Scopes() []string
func (*GitCredentialFlow) Setup ¶
func (flow *GitCredentialFlow) Setup(hostname, username, authToken string) error
func (*GitCredentialFlow) ShouldSetup ¶
func (flow *GitCredentialFlow) ShouldSetup() bool
type LoginOptions ¶
type MissingScopesError ¶
type MissingScopesError struct {
MissingScopes []string
}
func (MissingScopesError) Error ¶
func (e MissingScopesError) Error() string
Click to show internal directories.
Click to hide internal directories.