Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Configure ¶
func Configure(r *gin.Engine, app_url string, default_redirect string, user_function UserFunc, stubs_on_unconfigured bool)
Configure and set up the login SDK. The user_function is used to create or update a user
func EnsureLogin ¶
Ensure that a user is currently logged in. If redirectFail is set, then if not, the user is redirected.
func ErrorHandler ¶ added in v0.2.0
func ErrorHandler() gin.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.