mocks_oauth

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks_oauth is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthorizer

type MockAuthorizer struct {
	// contains filtered or unexported fields
}

MockAuthorizer is a mock of Authorizer interface.

func NewMockAuthorizer

func NewMockAuthorizer(ctrl *gomock.Controller) *MockAuthorizer

NewMockAuthorizer creates a new mock instance.

func (*MockAuthorizer) DisableDestination

func (m *MockAuthorizer) DisableDestination(arg0 *backendconfig.DestinationT, arg1, arg2 string) (int, string)

DisableDestination mocks base method.

func (*MockAuthorizer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAuthorizer) FetchToken

func (m *MockAuthorizer) FetchToken(arg0 *oauth.RefreshTokenParams) (int, *oauth.AuthResponse)

FetchToken mocks base method.

func (*MockAuthorizer) RefreshToken

func (m *MockAuthorizer) RefreshToken(arg0 *oauth.RefreshTokenParams) (int, *oauth.AuthResponse)

RefreshToken mocks base method.

type MockAuthorizerMockRecorder

type MockAuthorizerMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuthorizerMockRecorder is the mock recorder for MockAuthorizer.

func (*MockAuthorizerMockRecorder) DisableDestination

func (mr *MockAuthorizerMockRecorder) DisableDestination(arg0, arg1, arg2 interface{}) *gomock.Call

DisableDestination indicates an expected call of DisableDestination.

func (*MockAuthorizerMockRecorder) FetchToken

func (mr *MockAuthorizerMockRecorder) FetchToken(arg0 interface{}) *gomock.Call

FetchToken indicates an expected call of FetchToken.

func (*MockAuthorizerMockRecorder) RefreshToken

func (mr *MockAuthorizerMockRecorder) RefreshToken(arg0 interface{}) *gomock.Call

RefreshToken indicates an expected call of RefreshToken.

Jump to

Keyboard shortcuts

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