Documentation ¶
Overview ¶
Package oauth2 is a generated GoMock package.
Index ¶
- type MockIOAuth2Authenticator
- func (m *MockIOAuth2Authenticator) AuthCodeURL(arg0 string, arg1 ...oauth2.AuthCodeOption) string
- func (m *MockIOAuth2Authenticator) EXPECT() *MockIOAuth2AuthenticatorMockRecorder
- func (m *MockIOAuth2Authenticator) Exchange(arg0 context.Context, arg1 string, arg2 ...oauth2.AuthCodeOption) (*oauth2.Token, error)
- func (m *MockIOAuth2Authenticator) GetTokenSource(arg0 context.Context, arg1 *oauth2.Token) oauth2.TokenSource
- type MockIOAuth2AuthenticatorMockRecorder
- func (mr *MockIOAuth2AuthenticatorMockRecorder) AuthCodeURL(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockIOAuth2AuthenticatorMockRecorder) Exchange(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockIOAuth2AuthenticatorMockRecorder) GetTokenSource(arg0, arg1 interface{}) *gomock.Call
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
func (m *MockIOAuth2Authenticator) EXPECT() *MockIOAuth2AuthenticatorMockRecorder
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.
Click to show internal directories.
Click to hide internal directories.