juju: github.com/juju/juju/api/authentication Index | Files

package authentication

import "github.com/juju/juju/api/authentication"


Package Files


type Visitor Uses

type Visitor struct {
    // contains filtered or unexported fields

Visitor is a httpbakery.Visitor that will login directly to the Juju controller using password authentication. This only applies when logging in as a local user.

func NewVisitor Uses

func NewVisitor(username string, getPassword func(string) (string, error)) *Visitor

NewVisitor returns a new Visitor.

func (*Visitor) VisitWebPage Uses

func (v *Visitor) VisitWebPage(client *httpbakery.Client, methodURLs map[string]*url.URL) error

VisitWebPage is part of the httpbakery.Visitor interface.

Package authentication imports 5 packages (graph) and is imported by 29 packages. Updated 2018-04-19. Refresh now. Tools for package owners.