fakes

package
v0.0.0-...-b61aaf9 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2016 License: Apache-2.0, Apache-2.0, BSD-2-Clause-Views, + 2 more Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeSigningMethod

type FakeSigningMethod struct {
	VerifyStub func(signingString, signature string, key interface{}) error

	SignStub func(signingString string, key interface{}) (string, error)

	AlgStub func() string
	// contains filtered or unexported fields
}

func (*FakeSigningMethod) Alg

func (fake *FakeSigningMethod) Alg() string

func (*FakeSigningMethod) AlgCallCount

func (fake *FakeSigningMethod) AlgCallCount() int

func (*FakeSigningMethod) AlgReturns

func (fake *FakeSigningMethod) AlgReturns(result1 string)

func (*FakeSigningMethod) Sign

func (fake *FakeSigningMethod) Sign(signingString string, key interface{}) (string, error)

func (*FakeSigningMethod) SignArgsForCall

func (fake *FakeSigningMethod) SignArgsForCall(i int) (string, interface{})

func (*FakeSigningMethod) SignCallCount

func (fake *FakeSigningMethod) SignCallCount() int

func (*FakeSigningMethod) SignReturns

func (fake *FakeSigningMethod) SignReturns(result1 string, result2 error)

func (*FakeSigningMethod) Verify

func (fake *FakeSigningMethod) Verify(signingString string, signature string, key interface{}) error

func (*FakeSigningMethod) VerifyArgsForCall

func (fake *FakeSigningMethod) VerifyArgsForCall(i int) (string, string, interface{})

func (*FakeSigningMethod) VerifyCallCount

func (fake *FakeSigningMethod) VerifyCallCount() int

func (*FakeSigningMethod) VerifyReturns

func (fake *FakeSigningMethod) VerifyReturns(result1 error)

type FakeTokenValidator

type FakeTokenValidator struct {
	DecodeTokenStub func(userToken string, desiredPermissions ...string) error

	CheckPublicTokenStub func() error
	// contains filtered or unexported fields
}

func (*FakeTokenValidator) CheckPublicToken

func (fake *FakeTokenValidator) CheckPublicToken() error

func (*FakeTokenValidator) CheckPublicTokenCallCount

func (fake *FakeTokenValidator) CheckPublicTokenCallCount() int

func (*FakeTokenValidator) CheckPublicTokenReturns

func (fake *FakeTokenValidator) CheckPublicTokenReturns(result1 error)

func (*FakeTokenValidator) DecodeToken

func (fake *FakeTokenValidator) DecodeToken(userToken string, desiredPermissions ...string) error

func (*FakeTokenValidator) DecodeTokenArgsForCall

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

func (*FakeTokenValidator) DecodeTokenCallCount

func (fake *FakeTokenValidator) DecodeTokenCallCount() int

func (*FakeTokenValidator) DecodeTokenReturns

func (fake *FakeTokenValidator) DecodeTokenReturns(result1 error)

type FakeUaaKeyFetcher

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

func (*FakeUaaKeyFetcher) FetchKey

func (fake *FakeUaaKeyFetcher) FetchKey() (string, error)

func (*FakeUaaKeyFetcher) FetchKeyCallCount

func (fake *FakeUaaKeyFetcher) FetchKeyCallCount() int

func (*FakeUaaKeyFetcher) FetchKeyReturns

func (fake *FakeUaaKeyFetcher) FetchKeyReturns(result1 string, result2 error)

Jump to

Keyboard shortcuts

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