mock

package
v0.0.0-rc5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OAuthProviderMock

type OAuthProviderMock struct {
	mock.Mock
}

func (*OAuthProviderMock) ExchangeCodeToToken

func (m *OAuthProviderMock) ExchangeCodeToToken(ctx context.Context, code string, redirectUrl string) (*oauth2.Token, error)

func (*OAuthProviderMock) GetConsentPageUrl

func (m *OAuthProviderMock) GetConsentPageUrl(redirectUrl string) (string, string)

func (*OAuthProviderMock) GetUserInfo

func (m *OAuthProviderMock) GetUserInfo(ctx context.Context, token *oauth2.Token) (oauth.UserInfo, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL