MCPcopy
hub / github.com/cloudfoundry/cli / FakeTokenCache

Struct FakeTokenCache

api/uaa/wrapper/wrapperfakes/fake_token_cache.go:10–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type FakeTokenCache struct {
11 AccessTokenStub func() string
12 accessTokenMutex sync.RWMutex
13 accessTokenArgsForCall []struct {
14 }
15 accessTokenReturns struct {
16 result1 string
17 }
18 accessTokenReturnsOnCall map[int]struct {
19 result1 string
20 }
21 RefreshTokenStub func() string
22 refreshTokenMutex sync.RWMutex
23 refreshTokenArgsForCall []struct {
24 }
25 refreshTokenReturns struct {
26 result1 string
27 }
28 refreshTokenReturnsOnCall map[int]struct {
29 result1 string
30 }
31 SetAccessTokenStub func(string)
32 setAccessTokenMutex sync.RWMutex
33 setAccessTokenArgsForCall []struct {
34 arg1 string
35 }
36 SetRefreshTokenStub func(string)
37 setRefreshTokenMutex sync.RWMutex
38 setRefreshTokenArgsForCall []struct {
39 arg1 string
40 }
41 invocations map[string][][]interface{}
42 invocationsMutex sync.RWMutex
43}
44
45func (fake *FakeTokenCache) AccessToken() string {
46 fake.accessTokenMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected