github.com/cloudfoundry-attic/cli-with-i18n@v6.32.1-0.20171002233121-7401370d3b85+incompatible/actor/v2action/uaa_client.go (about)

     1  package v2action
     2  
     3  import "code.cloudfoundry.org/cli/api/uaa"
     4  
     5  //go:generate counterfeiter . UAAClient
     6  
     7  type UAAClient interface {
     8  	Authenticate(username string, password string) (string, string, error)
     9  	CreateUser(username string, password string, origin string) (uaa.User, error)
    10  	GetSSHPasscode(accessToken string, sshOAuthClient string) (string, error)
    11  	RefreshAccessToken(refreshToken string) (uaa.RefreshedTokens, error)
    12  }