fakes

package
v0.0.0-...-6857e3f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeTokenFetcher

type FakeTokenFetcher struct {
	FetchKeyStub func() (*uaa.JWK, error)

	FetchTokenStub func(context.Context, bool) (*oauth2.Token, error)
	// contains filtered or unexported fields
}

func (*FakeTokenFetcher) FetchKey

func (fake *FakeTokenFetcher) FetchKey() (*uaa.JWK, error)

func (*FakeTokenFetcher) FetchKeyCallCount

func (fake *FakeTokenFetcher) FetchKeyCallCount() int

func (*FakeTokenFetcher) FetchKeyCalls

func (fake *FakeTokenFetcher) FetchKeyCalls(stub func() (*uaa.JWK, error))

func (*FakeTokenFetcher) FetchKeyReturns

func (fake *FakeTokenFetcher) FetchKeyReturns(result1 *uaa.JWK, result2 error)

func (*FakeTokenFetcher) FetchKeyReturnsOnCall

func (fake *FakeTokenFetcher) FetchKeyReturnsOnCall(i int, result1 *uaa.JWK, result2 error)

func (*FakeTokenFetcher) FetchToken

func (fake *FakeTokenFetcher) FetchToken(arg1 context.Context, arg2 bool) (*oauth2.Token, error)

func (*FakeTokenFetcher) FetchTokenArgsForCall

func (fake *FakeTokenFetcher) FetchTokenArgsForCall(i int) (context.Context, bool)

func (*FakeTokenFetcher) FetchTokenCallCount

func (fake *FakeTokenFetcher) FetchTokenCallCount() int

func (*FakeTokenFetcher) FetchTokenCalls

func (fake *FakeTokenFetcher) FetchTokenCalls(stub func(context.Context, bool) (*oauth2.Token, error))

func (*FakeTokenFetcher) FetchTokenReturns

func (fake *FakeTokenFetcher) FetchTokenReturns(result1 *oauth2.Token, result2 error)

func (*FakeTokenFetcher) FetchTokenReturnsOnCall

func (fake *FakeTokenFetcher) FetchTokenReturnsOnCall(i int, result1 *oauth2.Token, result2 error)

func (*FakeTokenFetcher) Invocations

func (fake *FakeTokenFetcher) Invocations() map[string][][]interface{}

type FakeTokenValidator

type FakeTokenValidator struct {
	ValidateTokenStub func(string, ...string) error
	// contains filtered or unexported fields
}

func (*FakeTokenValidator) Invocations

func (fake *FakeTokenValidator) Invocations() map[string][][]interface{}

func (*FakeTokenValidator) ValidateToken

func (fake *FakeTokenValidator) ValidateToken(arg1 string, arg2 ...string) error

func (*FakeTokenValidator) ValidateTokenArgsForCall

func (fake *FakeTokenValidator) ValidateTokenArgsForCall(i int) (string, []string)

func (*FakeTokenValidator) ValidateTokenCallCount

func (fake *FakeTokenValidator) ValidateTokenCallCount() int

func (*FakeTokenValidator) ValidateTokenCalls

func (fake *FakeTokenValidator) ValidateTokenCalls(stub func(string, ...string) error)

func (*FakeTokenValidator) ValidateTokenReturns

func (fake *FakeTokenValidator) ValidateTokenReturns(result1 error)

func (*FakeTokenValidator) ValidateTokenReturnsOnCall

func (fake *FakeTokenValidator) ValidateTokenReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL