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)
- type MockIOAuth2AuthenticatorMockRecorder
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.
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.
Click to show internal directories.
Click to hide internal directories.