Documentation
¶
Overview ¶
Package mock_oidc is a generated GoMock package.
Index ¶
- type MockAuthenticator
- func (m *MockAuthenticator) AuthCodeURL(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
- type Mockconfig
- type MockconfigMockRecorder
- type Mockprovider
- type MockproviderMockRecorder
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(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(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.
type Mockconfig ¶
type Mockconfig struct {
// contains filtered or unexported fields
}
Mockconfig is a mock of config interface.
func NewMockconfig ¶
func NewMockconfig(ctrl *gomock.Controller) *Mockconfig
NewMockconfig creates a new mock instance.
func (*Mockconfig) AuthCodeURL ¶
func (m *Mockconfig) AuthCodeURL(state string, opts ...oauth2.AuthCodeOption) string
AuthCodeURL mocks base method.
func (*Mockconfig) EXPECT ¶
func (m *Mockconfig) EXPECT() *MockconfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockconfigMockRecorder ¶
type MockconfigMockRecorder struct {
// contains filtered or unexported fields
}
MockconfigMockRecorder is the mock recorder for Mockconfig.
func (*MockconfigMockRecorder) AuthCodeURL ¶
func (mr *MockconfigMockRecorder) AuthCodeURL(state any, opts ...any) *gomock.Call
AuthCodeURL indicates an expected call of AuthCodeURL.
func (*MockconfigMockRecorder) ClientID ¶
func (mr *MockconfigMockRecorder) ClientID() *gomock.Call
ClientID indicates an expected call of ClientID.
type Mockprovider ¶
type Mockprovider struct {
// contains filtered or unexported fields
}
Mockprovider is a mock of provider interface.
func NewMockprovider ¶
func NewMockprovider(ctrl *gomock.Controller) *Mockprovider
NewMockprovider creates a new mock instance.
func (*Mockprovider) EXPECT ¶
func (m *Mockprovider) EXPECT() *MockproviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockprovider) Endpoint ¶
func (m *Mockprovider) Endpoint() oauth2.Endpoint
Endpoint mocks base method.
func (*Mockprovider) Verifier ¶
func (m *Mockprovider) Verifier(config *oidc.Config) *oidc.IDTokenVerifier
Verifier mocks base method.
type MockproviderMockRecorder ¶
type MockproviderMockRecorder struct {
// contains filtered or unexported fields
}
MockproviderMockRecorder is the mock recorder for Mockprovider.
func (*MockproviderMockRecorder) Endpoint ¶
func (mr *MockproviderMockRecorder) Endpoint() *gomock.Call
Endpoint indicates an expected call of Endpoint.