Documentation

Overview

    Package mockupstreamoidcidentityprovider is a generated GoMock package.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type MockUpstreamOIDCIdentityProviderI

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

      MockUpstreamOIDCIdentityProviderI is a mock of UpstreamOIDCIdentityProviderI interface

      func NewMockUpstreamOIDCIdentityProviderI

      func NewMockUpstreamOIDCIdentityProviderI(ctrl *gomock.Controller) *MockUpstreamOIDCIdentityProviderI

        NewMockUpstreamOIDCIdentityProviderI creates a new mock instance

        func (*MockUpstreamOIDCIdentityProviderI) EXPECT

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

          func (*MockUpstreamOIDCIdentityProviderI) ExchangeAuthcodeAndValidateTokens

          func (m *MockUpstreamOIDCIdentityProviderI) ExchangeAuthcodeAndValidateTokens(arg0 context.Context, arg1 string, arg2 pkce.Code, arg3 nonce.Nonce, arg4 string) (*oidctypes.Token, error)

            ExchangeAuthcodeAndValidateTokens mocks base method

            func (*MockUpstreamOIDCIdentityProviderI) GetAuthorizationURL

            func (m *MockUpstreamOIDCIdentityProviderI) GetAuthorizationURL() *url.URL

              GetAuthorizationURL mocks base method

              func (*MockUpstreamOIDCIdentityProviderI) GetClientID

              func (m *MockUpstreamOIDCIdentityProviderI) GetClientID() string

                GetClientID mocks base method

                func (*MockUpstreamOIDCIdentityProviderI) GetGroupsClaim

                func (m *MockUpstreamOIDCIdentityProviderI) GetGroupsClaim() string

                  GetGroupsClaim mocks base method

                  func (*MockUpstreamOIDCIdentityProviderI) GetName

                    GetName mocks base method

                    func (*MockUpstreamOIDCIdentityProviderI) GetScopes

                    func (m *MockUpstreamOIDCIdentityProviderI) GetScopes() []string

                      GetScopes mocks base method

                      func (*MockUpstreamOIDCIdentityProviderI) GetUsernameClaim

                      func (m *MockUpstreamOIDCIdentityProviderI) GetUsernameClaim() string

                        GetUsernameClaim mocks base method

                        func (*MockUpstreamOIDCIdentityProviderI) ValidateToken

                        func (m *MockUpstreamOIDCIdentityProviderI) ValidateToken(arg0 context.Context, arg1 *oauth2.Token, arg2 nonce.Nonce) (*oidctypes.Token, error)

                          ValidateToken mocks base method

                          type MockUpstreamOIDCIdentityProviderIMockRecorder

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

                            MockUpstreamOIDCIdentityProviderIMockRecorder is the mock recorder for MockUpstreamOIDCIdentityProviderI

                            func (*MockUpstreamOIDCIdentityProviderIMockRecorder) ExchangeAuthcodeAndValidateTokens

                            func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) ExchangeAuthcodeAndValidateTokens(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

                              ExchangeAuthcodeAndValidateTokens indicates an expected call of ExchangeAuthcodeAndValidateTokens

                              func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetAuthorizationURL

                              func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) GetAuthorizationURL() *gomock.Call

                                GetAuthorizationURL indicates an expected call of GetAuthorizationURL

                                func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetClientID

                                  GetClientID indicates an expected call of GetClientID

                                  func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetGroupsClaim

                                    GetGroupsClaim indicates an expected call of GetGroupsClaim

                                    func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetName

                                      GetName indicates an expected call of GetName

                                      func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetScopes

                                        GetScopes indicates an expected call of GetScopes

                                        func (*MockUpstreamOIDCIdentityProviderIMockRecorder) GetUsernameClaim

                                          GetUsernameClaim indicates an expected call of GetUsernameClaim

                                          func (*MockUpstreamOIDCIdentityProviderIMockRecorder) ValidateToken

                                          func (mr *MockUpstreamOIDCIdentityProviderIMockRecorder) ValidateToken(arg0, arg1, arg2 interface{}) *gomock.Call

                                            ValidateToken indicates an expected call of ValidateToken