Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthCookie = "auth" AccessTokenKey = "access-token" AuthExtrasCookie = "auth-extras" IDTokenKey = "id-token" EmailKey = "email" NameKey = "name" PictureKey = "picture" AuthorizationExtrasHeader = "authorization-extras" )
Variables ¶
This section is empty.
Functions ¶
func GetCurrentUser ¶
func GetCurrentUser(c echo.Context) error
func ValidateAuth ¶
func ValidateAuth(c echo.Context, cfgProvider *config.ConfigProviderWithRefresh) error
func WithAuth ¶
func WithAuth(c echo.Context) runtime.ServeMuxOption
Types ¶
Click to show internal directories.
Click to hide internal directories.