Versions in this module Expand all Collapse all v1 v1.0.0 Jun 22, 2023 Changes in this version + type Auth struct + func NewAuth(t mockConstructorTestingTNewAuth) *Auth + func (_m *Auth) Guard(name string) auth.Auth + func (_m *Auth) Login(ctx http.Context, user interface{}) (string, error) + func (_m *Auth) LoginUsingID(ctx http.Context, id interface{}) (string, error) + func (_m *Auth) Logout(ctx http.Context) error + func (_m *Auth) Parse(ctx http.Context, token string) (*auth.Payload, error) + func (_m *Auth) Refresh(ctx http.Context) (string, error) + func (_m *Auth) User(ctx http.Context, user interface{}) error