Documentation ¶
Index ¶
- type GinAuth
- func (a *GinAuth) Guard(name string) contractAuth.GinAuth
- func (a *GinAuth) Login(ctx request.Context, Mobile string, Password string) (newAdmin *sysmodel.PlatformAdmin, token string, err error)
- func (a *GinAuth) LoginUsingID(ctx request.Context, userId int64) (newAdmin *sysmodel.PlatformAdmin, token string, err error)
- func (a *GinAuth) Logout(ctx request.Context) bool
- func (a *GinAuth) Parse(ctx request.Context) error
- func (a *GinAuth) Refresh(ctx request.Context) (token string, err error)
- func (a *GinAuth) User(ctx request.Context) *sysmodel.PlatformAdmin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.