oauth2

package
v0.1.322 Latest Latest
Warning

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

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

Documentation

Overview

Package oauth2 is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIOAuth2Authenticator added in v0.1.240

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

MockIOAuth2Authenticator is a mock of IOAuth2Authenticator interface.

func NewMockIOAuth2Authenticator added in v0.1.240

func NewMockIOAuth2Authenticator(ctrl *gomock.Controller) *MockIOAuth2Authenticator

NewMockIOAuth2Authenticator creates a new mock instance.

func (*MockIOAuth2Authenticator) AuthCodeURL added in v0.1.240

func (m *MockIOAuth2Authenticator) AuthCodeURL(arg0 string, arg1 ...oauth2.AuthCodeOption) string

AuthCodeURL mocks base method.

func (*MockIOAuth2Authenticator) EXPECT added in v0.1.240

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

func (*MockIOAuth2Authenticator) Exchange added in v0.1.240

func (m *MockIOAuth2Authenticator) Exchange(arg0 context.Context, arg1 string, arg2 ...oauth2.AuthCodeOption) (*oauth2.Token, error)

Exchange mocks base method.

func (*MockIOAuth2Authenticator) GetTokenSource added in v0.1.242

func (m *MockIOAuth2Authenticator) GetTokenSource(arg0 context.Context, arg1 *oauth2.Token) oauth2.TokenSource

GetTokenSource mocks base method.

type MockIOAuth2AuthenticatorMockRecorder added in v0.1.240

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

MockIOAuth2AuthenticatorMockRecorder is the mock recorder for MockIOAuth2Authenticator.

func (*MockIOAuth2AuthenticatorMockRecorder) AuthCodeURL added in v0.1.240

func (mr *MockIOAuth2AuthenticatorMockRecorder) AuthCodeURL(arg0 interface{}, arg1 ...interface{}) *gomock.Call

AuthCodeURL indicates an expected call of AuthCodeURL.

func (*MockIOAuth2AuthenticatorMockRecorder) Exchange added in v0.1.240

func (mr *MockIOAuth2AuthenticatorMockRecorder) Exchange(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Exchange indicates an expected call of Exchange.

func (*MockIOAuth2AuthenticatorMockRecorder) GetTokenSource added in v0.1.242

func (mr *MockIOAuth2AuthenticatorMockRecorder) GetTokenSource(arg0, arg1 interface{}) *gomock.Call

GetTokenSource indicates an expected call of GetTokenSource.

Directories

Path Synopsis
Package github is a generated GoMock package.
Package github is a generated GoMock package.

Jump to

Keyboard shortcuts

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