Documentation
¶
Index ¶
- type ArgonAuth
- type GroupOptions
- type Logger
- type Option
- func DisableStatelessAuth() Option
- func EnableDebug() Option
- func EnableStatefulAuth() Option
- func EnableUserRolesInResponse() Option
- func SetDebug(input bool) Option
- func SetGroupOptions(input GroupOptions) Option
- func SetSqlite(input string) Option
- func SetTokenOptions(input TokenOptions) Option
- func UseCache() Option
- func WithLogger(input Logger) Option
- type Router
- type RouterMap
- type TokenOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgonAuth ¶
type ArgonAuth interface {
RegisterSetupHandlers(group *echo.Group)
RegisterDefaultPublicHandlers(group *echo.Group)
RegisterDefaultPrivateHandlers(group *echo.Group)
RegisterHandlers(group *echo.Group, router RouterMap)
Account(input ...types.AccountService) types.AccountService
SetupHandler(c echo.Context) error
VerifyTokenInCookieMiddleware() func(echo.HandlerFunc) echo.HandlerFunc
VerifyTokenInHeaderMiddleware() func(echo.HandlerFunc) echo.HandlerFunc
VerifyRolesMiddleware() func(echo.HandlerFunc) echo.HandlerFunc
}
type GroupOptions ¶
type Option ¶
type Option func(*argonAuth) error
func DisableStatelessAuth ¶
func DisableStatelessAuth() Option
func EnableDebug ¶
func EnableDebug() Option
func EnableStatefulAuth ¶
func EnableStatefulAuth() Option
func EnableUserRolesInResponse ¶
func EnableUserRolesInResponse() Option
func SetGroupOptions ¶
func SetGroupOptions(input GroupOptions) Option
func SetTokenOptions ¶
func SetTokenOptions(input TokenOptions) Option
func WithLogger ¶
Click to show internal directories.
Click to hide internal directories.