Documentation ¶
Index ¶
- type Auth
- func (_m *Auth) Guard(name string) auth.Auth
- func (_m *Auth) Login(user interface{}) (string, error)
- func (_m *Auth) LoginUsingID(id interface{}) (string, error)
- func (_m *Auth) Logout() error
- func (_m *Auth) Parse(token string) error
- func (_m *Auth) Refresh() (string, error)
- func (_m *Auth) User(user interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
Auth is an autogenerated mock type for the Auth type
func NewAuth ¶
func NewAuth(t mockConstructorTestingTNewAuth) *Auth
NewAuth creates a new instance of Auth. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Auth) LoginUsingID ¶
LoginUsingID provides a mock function with given fields: id
Click to show internal directories.
Click to hide internal directories.