Documentation
¶
Index ¶
- type Provider
- func (_m *Provider) ErrorURL() string
- func (_m *Provider) Exchange(ctx context.Context, code string) (xoauth2.Token, error)
- func (_m *Provider) IsEnabled() bool
- func (_m *Provider) Name() string
- func (_m *Provider) RedirectURL() string
- func (_m *Provider) State() string
- func (_m *Provider) UserInfo(accessToken string) (users.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
Provider is an autogenerated mock type for the Provider type
func NewProvider ¶
NewProvider creates a new instance of Provider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Provider) RedirectURL ¶
RedirectURL provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.