Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct { ListedFn func(handle string) bool ListedInvoked bool AuthorizedFn func(handle, rawurl string) bool AuthorizedInvoked bool NotifyFn func(handle, loginurl string) error NotifyInvoked bool CloseFn func() error CloseInvoked bool }
UserService represents a mock implementation of multipass.UserService.
func (*UserService) Authorized ¶
func (s *UserService) Authorized(handle, method, rawurl string) bool
Authorized invokes the mock implementation and marks the function as invoked.
func (*UserService) Close ¶
func (s *UserService) Close() error
Close invokes the mock implementation and marks the function as invoked.
func (*UserService) Listed ¶
func (s *UserService) Listed(handle string) bool
Listed invokes the mock implementation and marks the function as invoked.
func (*UserService) Notify ¶
func (s *UserService) Notify(handle, loginurl string) error
Notify invokes the mock implementation and marks the function as invoked.
Click to show internal directories.
Click to hide internal directories.