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

Method RefreshAuthToken

cf/api/authentication/authentication.go:186–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184}
185
186func (uaa UAARepository) RefreshAuthToken() (string, error) {
187 return uaa.RefreshToken(uaa.config.AccessToken())
188}
189
190func (uaa UAARepository) RefreshToken(t string) (string, error) {
191 tokenStr := strings.TrimPrefix(t, "bearer ")

Callers

nothing calls this directly

Calls 2

RefreshTokenMethod · 0.95
AccessTokenMethod · 0.65

Tested by

no test coverage detected