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