Versions in this module Expand all Collapse all v0 v0.1.3 Jan 29, 2024 Changes in this version + var AUTH_REQUIRED_GQL_ERROR = &gqlerror.Error + var PERMISSION_DENIED_GQL_ERROR = &gqlerror.Error + func AuthMiddleware(cbleConfig *config.Config, client *ent.Client) gin.HandlerFunc + func DeleteAuthCookie(c *gin.Context, cbleConfig *config.Config) + func ForContext(ctx context.Context) (*ent.User, error) + func Login(cbleConfig *config.Config, client *ent.Client) gin.HandlerFunc + func Logout(cbleConfig *config.Config) gin.HandlerFunc + type UserLoginInput struct + Password string + Username string