Documentation
¶
Overview ¶
Package mock_oidc is a generated GoMock package.
Index ¶
- type MockAuthenticator
- func (m *MockAuthenticator) AuthCodeURL(ctx context.Context, w http.ResponseWriter, returnURL string) (string, error)
- func (m *MockAuthenticator) EXPECT() *MockAuthenticatorMockRecorder
- func (m *MockAuthenticator) LoginURL() string
- func (m *MockAuthenticator) Verify(ctx context.Context, w http.ResponseWriter, r *http.Request, claims any) (string, string, error)
- type MockAuthenticatorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthenticator ¶
type MockAuthenticator struct {
// contains filtered or unexported fields
}
MockAuthenticator is a mock of Authenticator interface.
func NewMockAuthenticator ¶
func NewMockAuthenticator(ctrl *gomock.Controller) *MockAuthenticator
NewMockAuthenticator creates a new mock instance.
func (*MockAuthenticator) AuthCodeURL ¶
func (m *MockAuthenticator) AuthCodeURL(ctx context.Context, w http.ResponseWriter, returnURL string) (string, error)
AuthCodeURL mocks base method.
func (*MockAuthenticator) EXPECT ¶
func (m *MockAuthenticator) EXPECT() *MockAuthenticatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthenticator) LoginURL ¶ added in v0.4.2
func (m *MockAuthenticator) LoginURL() string
LoginURL mocks base method.
type MockAuthenticatorMockRecorder ¶
type MockAuthenticatorMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthenticatorMockRecorder is the mock recorder for MockAuthenticator.
func (*MockAuthenticatorMockRecorder) AuthCodeURL ¶
func (mr *MockAuthenticatorMockRecorder) AuthCodeURL(ctx, w, returnURL any) *gomock.Call
AuthCodeURL indicates an expected call of AuthCodeURL.
func (*MockAuthenticatorMockRecorder) LoginURL ¶ added in v0.4.2
func (mr *MockAuthenticatorMockRecorder) LoginURL() *gomock.Call
LoginURL indicates an expected call of LoginURL.
Click to show internal directories.
Click to hide internal directories.