MCPcopy Index your code
hub / github.com/cloudfoundry/cli / NewUAARepository

Function NewUAARepository

cf/api/authentication/authentication.go:48–54  ·  view source on GitHub ↗
(gateway net.Gateway, config coreconfig.ReadWriter, dumper net.RequestDumper)

Source from the content-addressed store, hash-verified

46var ErrPreventRedirect = errors.New("prevent-redirect")
47
48func NewUAARepository(gateway net.Gateway, config coreconfig.ReadWriter, dumper net.RequestDumper) UAARepository {
49 return UAARepository{
50 config: config,
51 gateway: gateway,
52 dumper: dumper,
53 }
54}
55
56func (uaa UAARepository) Authorize(token string) (string, error) {
57 httpClient := &http.Client{

Callers 3

NewRepositoryLocatorFunction · 0.92

Calls

no outgoing calls

Tested by 1