Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAuth ¶
type IAuth interface { Guard(name string) IAuth Parse(ctx http.Context, token string) error User(ctx http.Context, user any) error Login(ctx http.Context, user any) (token string, err error) LoginUsingID(ctx http.Context, id any) (token string, err error) Refresh(ctx http.Context) (token string, err error) Logout(ctx http.Context) error }
Click to show internal directories.
Click to hide internal directories.