Versions in this module Expand all Collapse all v0 v0.9.0 Feb 2, 2026 Changes in this version + type MockOAuth2Provider struct + func NewMockOAuth2Provider(ctrl *gomock.Controller) *MockOAuth2Provider + func (m *MockOAuth2Provider) AuthorizationURL(state, codeChallenge string, opts ...upstream.AuthorizationOption) (string, error) + func (m *MockOAuth2Provider) EXPECT() *MockOAuth2ProviderMockRecorder + func (m *MockOAuth2Provider) ExchangeCode(ctx context.Context, code, codeVerifier string) (*upstream.Tokens, error) + func (m *MockOAuth2Provider) FetchUserInfo(ctx context.Context, accessToken string) (*upstream.UserInfo, error) + func (m *MockOAuth2Provider) RefreshTokens(ctx context.Context, refreshToken string) (*upstream.Tokens, error) + func (m *MockOAuth2Provider) ResolveIdentity(ctx context.Context, tokens *upstream.Tokens, nonce string) (string, error) + func (m *MockOAuth2Provider) Type() upstream.ProviderType + type MockOAuth2ProviderMockRecorder struct + func (mr *MockOAuth2ProviderMockRecorder) AuthorizationURL(state, codeChallenge any, opts ...any) *gomock.Call + func (mr *MockOAuth2ProviderMockRecorder) ExchangeCode(ctx, code, codeVerifier any) *gomock.Call + func (mr *MockOAuth2ProviderMockRecorder) FetchUserInfo(ctx, accessToken any) *gomock.Call + func (mr *MockOAuth2ProviderMockRecorder) RefreshTokens(ctx, refreshToken any) *gomock.Call + func (mr *MockOAuth2ProviderMockRecorder) ResolveIdentity(ctx, tokens, nonce any) *gomock.Call + func (mr *MockOAuth2ProviderMockRecorder) Type() *gomock.Call