Versions in this module Expand all Collapse all v8 v8.4.4 Aug 24, 2022 v8.4.3 Aug 24, 2022 Changes in this version + var ErrPreventRedirect = errors.New("prevent-redirect") + type LoginResource struct + Links map[string]string + Prompts map[string][]string + type Repository interface + Authenticate func(credentials map[string]string) (apiErr error) + Authorize func(token string) (string, error) + GetLoginPromptsAndSaveUAAServerURL func() (map[string]coreconfig.AuthPrompt, error) + RefreshAuthToken func() (updatedToken string, apiErr error) + RefreshToken func(token string) (updatedToken string, apiErr error) + type TokenRefresher interface + RefreshAuthToken func() (updatedToken string, apiErr error) + type UAARepository struct + func NewUAARepository(gateway net.Gateway, config coreconfig.ReadWriter, dumper net.RequestDumper) UAARepository + func (uaa UAARepository) Authenticate(credentials map[string]string) error + func (uaa UAARepository) Authorize(token string) (string, error) + func (uaa UAARepository) DumpRequest(req *http.Request) + func (uaa UAARepository) DumpResponse(res *http.Response) + func (uaa UAARepository) GetLoginPromptsAndSaveUAAServerURL() (prompts map[string]coreconfig.AuthPrompt, apiErr error) + func (uaa UAARepository) RefreshAuthToken() (string, error) + func (uaa UAARepository) RefreshToken(t string) (string, error) Other modules containing this package github.com/LukasHeimann/cloudfoundrycli