goauthhandlersfakes

package
v0.0.0-...-2eb5408 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 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.

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 FakeDelegateHandler

type FakeDelegateHandler struct {
	ServeHTTPStub func(http.ResponseWriter, *http.Request)
	// contains filtered or unexported fields
}

func (*FakeDelegateHandler) Invocations

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

func (*FakeDelegateHandler) ServeHTTP

func (fake *FakeDelegateHandler) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)

func (*FakeDelegateHandler) ServeHTTPArgsForCall

func (fake *FakeDelegateHandler) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)

func (*FakeDelegateHandler) ServeHTTPCallCount

func (fake *FakeDelegateHandler) ServeHTTPCallCount() int

func (*FakeDelegateHandler) ServeHTTPCalls

func (fake *FakeDelegateHandler) ServeHTTPCalls(stub func(http.ResponseWriter, *http.Request))

type FakeStateGenerator

type FakeStateGenerator struct {
	GenerateStateStub func() (string, error)
	// contains filtered or unexported fields
}

func (*FakeStateGenerator) GenerateState

func (fake *FakeStateGenerator) GenerateState() (string, error)

func (*FakeStateGenerator) GenerateStateCallCount

func (fake *FakeStateGenerator) GenerateStateCallCount() int

func (*FakeStateGenerator) GenerateStateCalls

func (fake *FakeStateGenerator) GenerateStateCalls(stub func() (string, error))

func (*FakeStateGenerator) GenerateStateReturns

func (fake *FakeStateGenerator) GenerateStateReturns(result1 string, result2 error)

func (*FakeStateGenerator) GenerateStateReturnsOnCall

func (fake *FakeStateGenerator) GenerateStateReturnsOnCall(i int, result1 string, result2 error)

func (*FakeStateGenerator) Invocations

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

type FakeTokenDecoder

type FakeTokenDecoder struct {
	DecodeStub func(*oauth2.Token) (token.Info, error)
	// contains filtered or unexported fields
}

func (*FakeTokenDecoder) Decode

func (fake *FakeTokenDecoder) Decode(arg1 *oauth2.Token) (token.Info, error)

func (*FakeTokenDecoder) DecodeArgsForCall

func (fake *FakeTokenDecoder) DecodeArgsForCall(i int) *oauth2.Token

func (*FakeTokenDecoder) DecodeCallCount

func (fake *FakeTokenDecoder) DecodeCallCount() int

func (*FakeTokenDecoder) DecodeCalls

func (fake *FakeTokenDecoder) DecodeCalls(stub func(*oauth2.Token) (token.Info, error))

func (*FakeTokenDecoder) DecodeReturns

func (fake *FakeTokenDecoder) DecodeReturns(result1 token.Info, result2 error)

func (*FakeTokenDecoder) DecodeReturnsOnCall

func (fake *FakeTokenDecoder) DecodeReturnsOnCall(i int, result1 token.Info, result2 error)

func (*FakeTokenDecoder) Invocations

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

type FakeTokenProvider

type FakeTokenProvider struct {
	LoginURLStub func(string) string

	RequestTokenStub func(string) (*oauth2.Token, error)
	// contains filtered or unexported fields
}

func (*FakeTokenProvider) Invocations

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

func (*FakeTokenProvider) LoginURL

func (fake *FakeTokenProvider) LoginURL(arg1 string) string

func (*FakeTokenProvider) LoginURLArgsForCall

func (fake *FakeTokenProvider) LoginURLArgsForCall(i int) string

func (*FakeTokenProvider) LoginURLCallCount

func (fake *FakeTokenProvider) LoginURLCallCount() int

func (*FakeTokenProvider) LoginURLCalls

func (fake *FakeTokenProvider) LoginURLCalls(stub func(string) string)

func (*FakeTokenProvider) LoginURLReturns

func (fake *FakeTokenProvider) LoginURLReturns(result1 string)

func (*FakeTokenProvider) LoginURLReturnsOnCall

func (fake *FakeTokenProvider) LoginURLReturnsOnCall(i int, result1 string)

func (*FakeTokenProvider) RequestToken

func (fake *FakeTokenProvider) RequestToken(arg1 string) (*oauth2.Token, error)

func (*FakeTokenProvider) RequestTokenArgsForCall

func (fake *FakeTokenProvider) RequestTokenArgsForCall(i int) string

func (*FakeTokenProvider) RequestTokenCallCount

func (fake *FakeTokenProvider) RequestTokenCallCount() int

func (*FakeTokenProvider) RequestTokenCalls

func (fake *FakeTokenProvider) RequestTokenCalls(stub func(string) (*oauth2.Token, error))

func (*FakeTokenProvider) RequestTokenReturns

func (fake *FakeTokenProvider) RequestTokenReturns(result1 *oauth2.Token, result2 error)

func (*FakeTokenProvider) RequestTokenReturnsOnCall

func (fake *FakeTokenProvider) RequestTokenReturnsOnCall(i int, result1 *oauth2.Token, result2 error)

Jump to

Keyboard shortcuts

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