Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶ added in v1.1.3
type Auth ¶
type Auth interface { Guard(name string) Auth Parse(ctx *frame.Context, token string, user User) error User(ctx *frame.Context, user User) error Login(ctx *frame.Context, user User, data ...map[string]any) (token *AccessToken, err error) LoginUsingID(ctx *frame.Context, id interface{}) (token *AccessToken, err error) Refresh(ctx *frame.Context) (token *AccessToken, err error) Data(ctx *frame.Context) (map[string]any, error) Logout(ctx *frame.Context) error }
Click to show internal directories.
Click to hide internal directories.